foodsoft (80183d86)

Published 2023-06-08 16:26:09 +02:00 by philipp in Foodsoft/foodsoft

Installation

docker pull git.local-it.org/foodsoft/foodsoft:80183d86
sha256:6d1cae1904ac384a9b92caff58e344972db256d2d36eb38a4d4cd315e7228427

Image Layers

ADD file:fc290cf8ddb984325474583faa79c5a98c5ea0ec7f606bf360251f63acecf389 in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/*
/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.8
ENV RUBY_DOWNLOAD_SHA256=f22f662da504d49ce2080e446e4bea7008cee11d5ec4858fc69000d0e5b1d7fb
/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 1777 "$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 dir:b8ccf21b064ed09a2717f41b7f569904a598b8286c45b351c00983c7c200533e in ./
/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
/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-06-08T14:25:48Z
LABEL org.opencontainers.image.revision=80183d86a8e029890b9e5a511cf136a489620e2d
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-06-08T14:25:48Z
org.opencontainers.image.revision 80183d86a8e029890b9e5a511cf136a489620e2d
org.opencontainers.image.source https://git.local-it.org/Foodsoft/foodsoft.git
org.opencontainers.image.url https://git.local-it.org/Foodsoft/foodsoft
Details
Container
2023-06-08 16:26:09 +02:00
0
OCI / Docker
linux/amd64
443 MiB
Versions (63) View all
20230823-04 2023-08-23
20230823-03 2023-08-23
20230823-02 2023-08-23
20230823-01 2023-08-23
c76c148f 2023-06-13