foodsoft (e904168c)
Installation
docker pull git.local-it.org/foodsoft/foodsoft:e904168c
sha256:02aac8d089a82d6af0ed1506b71c79c05d8d6179696365e9ffff28fcd94b5bf3
Image Layers
ADD file:cc6a56676703ec7ab5db8f2f7bc18a3169c0816d38703845b6b77ae5342ab41c 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:e6f69a628dd9fb65c975237f61b9edce834eafbe19a6bc9de74a14473570841e in ./ |
COPY dir:913ea6af0ca3402a0be2e30f297ac5acdcc139ed8e1aa567c237c9d5f95842c1 in ./plugins |
COPY dir:b4b2854bbab5f8e07dfd0fd156f37f31225573261596d44cdb5c7b7c0f15e4a8 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:5060945698d82f013b539072cafce72a57d054589d01d60e4845848d1c175cc2 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 && chown nobody config/app_config.yml && chown nobody tmp |
USER nobody |
EXPOSE 3000 |
VOLUME [/usr/src/app/storage] |
ENTRYPOINT ["./docker-entrypoint.sh"] |
CMD ["./proc-start" "web"] |
LABEL org.opencontainers.image.created=2023-02-10T12:40:49Z |
LABEL org.opencontainers.image.revision=e904168ce059d14e2b1ec968bad25af3b2328b9e |
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-10T12:40:49Z |
org.opencontainers.image.revision | e904168ce059d14e2b1ec968bad25af3b2328b9e |
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-10 13:51:34 +01:00
Versions (63)
View all
Container
4
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