foodsoft (fe9030fd)
Installation
docker pull git.local-it.org/foodsoft/foodsoft:fe9030fd
sha256:8d86755be1ab406693dcb6753270ae082abd2c6ef04e6a5ca144d80722554af6
Image Layers
ADD file:b03d13d345c29f69557f410c8504e748226756d1f48e5abdb63cd40179b2640c in / |
CMD ["bash"] |
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -eux; mkdir -p /usr/local/etc; { echo 'install: --no-document'; echo 'update: --no-document'; } >> /usr/local/etc/gemrc |
ENV LANG=C.UTF-8 |
ENV RUBY_MAJOR=2.7 |
ENV RUBY_VERSION=2.7.7 |
ENV RUBY_DOWNLOAD_SHA256=b38dff2e1f8ce6e5b7d433f8758752987a6b2adfd9bc7571dbc42ea5d04e3e4c |
/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends bison dpkg-dev libgdbm-dev ruby ; rm -rf /var/lib/apt/lists/*; wget -O ruby.tar.xz "https://cache.ruby-lang.org/pub/ruby/${RUBY_MAJOR%-rc}/ruby-$RUBY_VERSION.tar.xz"; echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum --check --strict; mkdir -p /usr/src/ruby; tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1; rm ruby.tar.xz; cd /usr/src/ruby; { echo '#define ENABLE_PATH_CHECK 0'; echo; cat file.c; } > file.c.new; mv file.c.new file.c; autoconf; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --disable-install-doc --enable-shared ; make -j "$(nproc)"; make install; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | grep -vE '^/usr/local/lib/' | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; cd /; rm -r /usr/src/ruby; if dpkg -l | grep -i ruby; then exit 1; fi; [ "$(command -v ruby)" = '/usr/local/bin/ruby' ]; ruby --version; gem --version; bundle --version |
ENV GEM_HOME=/usr/local/bundle |
ENV BUNDLE_SILENCE_ROOT_WARNING=1 BUNDLE_APP_CONFIG=/usr/local/bundle |
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
/bin/sh -c mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME" |
CMD ["irb"] |
/bin/sh -c supercronicUrl=https://github.com/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && supercronicBin=/usr/local/bin/supercronic && supercronicSha1sum=96960ba3207756bb01e6892c978264e5362e117e && curl -fsSL -o "$supercronicBin" "$supercronicUrl" && echo "$supercronicSha1sum $supercronicBin" | sha1sum -c - && chmod +x "$supercronicBin" |
ENV PORT=3000 SMTP_SERVER_PORT=2525 RAILS_ENV=production RAILS_LOG_TO_STDOUT=true RAILS_SERVE_STATIC_FILES=true |
WORKDIR /usr/src/app |
COPY multi:d8cc2d6d19408c1ed77d088dee516070900e6b695a5f41598e5005f6adc75a6f in ./ |
COPY dir:f76e776ce9e76aa7d690fa3f190305ad07abf8b058f2786fc865e7bf8c6d7ffb in ./plugins |
COPY dir:20db1483f1c6ece240a933cf2c3bb7c23b4b0641ddfe6353429807f9df6b87fd in ./config |
/bin/sh -c buildDeps='libmagic-dev' && apt-get update && apt-get install --no-install-recommends -y $buildDeps && echo 'gem: --no-document' >> ~/.gemrc && gem install bundler && bundle config build.nokogiri "--use-system-libraries" && bundle install --deployment --without development test -j 4 && apt-get purge -y --auto-remove $buildDeps && rm -Rf /var/lib/apt/lists/* /var/cache/apt/* ~/.gemrc ~/.bundle && bundle exec whenever >crontab |
COPY dir:44e4a775d7881ca404b05d79e83eac5dcdf8c4b103f05ff1b5294d3ae3e593dd in ./ |
/bin/sh -c export DATABASE_URL=mysql2://localhost/temp?encoding=utf8 && export SECRET_KEY_BASE=thisisnotimportantnow && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y mariadb-server nodejs && /etc/init.d/mariadb start && mariadb -e "CREATE DATABASE temp" && cp config/app_config.yml.SAMPLE config/app_config.yml && cp config/database.yml.MySQL_SAMPLE config/database.yml && cp config/storage.yml.SAMPLE config/storage.yml && bundle exec rake db:setup assets:precompile && rm -Rf tmp/* && /etc/init.d/mariadb stop && rm -Rf /run/mysqld /tmp/* /var/tmp/* /var/lib/mysql /var/log/mysql* && apt-get purge -y --auto-remove mariadb-server && rm -Rf /var/lib/apt/lists/* /var/cache/apt/* |
/bin/sh -c mkdir -p tmp storage && chown nobody config/app_config.yml && chown nobody tmp && chown nobody storage |
USER nobody |
EXPOSE 3000 |
VOLUME [/usr/src/app/storage] |
ENTRYPOINT ["./docker-entrypoint.sh"] |
CMD ["./proc-start" "web"] |
LABEL org.opencontainers.image.created=2023-02-24T15:50:20Z |
LABEL org.opencontainers.image.revision=fe9030fdd597dd8d381a884feb80800a0863f1dc |
LABEL org.opencontainers.image.source=https://git.local-it.org/Foodsoft/foodsoft.git |
LABEL org.opencontainers.image.url=https://git.local-it.org/Foodsoft/foodsoft |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-02-24T15:50:20Z |
org.opencontainers.image.revision | fe9030fdd597dd8d381a884feb80800a0863f1dc |
org.opencontainers.image.source | https://git.local-it.org/Foodsoft/foodsoft.git |
org.opencontainers.image.url | https://git.local-it.org/Foodsoft/foodsoft |
Details
2023-02-24 16:54:09 +01:00
Versions (63)
View all
Container
1
OCI / Docker
linux/amd64
439 MiB
20230823-04
2023-08-23
20230823-03
2023-08-23
20230823-02
2023-08-23
20230823-01
2023-08-23
c76c148f
2023-06-13