foodsoft (8122125b)
Installation
docker pull git.local-it.org/foodsoft/foodsoft:8122125b
sha256:3e8c10d34aeeb4c2134c827c94c319bdae92a854b7487d351516bd831392a019
Image Layers
ADD file:917750a82b29f8f7f88a121017bd9dfeb0fbcc8f0697a009f08b6b58246eff4b 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:01b8acb3505ba082c0a0fb084dc702b57d7a5a748cfc6b243504edde54aa4504 in ./ |
COPY dir:ead0410464edf87641cee4696bf4ee9232cc70fab588eb5eeae7e7b4867db96a in ./plugins |
COPY dir:bd8c3484de0325c41679da46cd52f0fd08a829014d336839a120f611a0058f77 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:e159609a4787e2f7c54167d11af46c55a7302122f57de3f92a06baf00692d35c 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-01-16T20:39:50Z |
LABEL org.opencontainers.image.revision=8122125bc807100e25520ceb0bc7842b81e62e47 |
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-01-16T20:39:50Z |
org.opencontainers.image.revision | 8122125bc807100e25520ceb0bc7842b81e62e47 |
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-01-16 21:42:33 +01:00
Versions (63)
View all
Container
2
OCI / Docker
linux/amd64
438 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