Tag
htwk/tech4comp_studies_configurator:master
Created
2023-08-25 22:03:31 UTC
Architecture
linux / amd64
Content Digest
Pull Command
ENV
  • PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • NODE_VERSION=18.17.1
  • YARN_VERSION=1.22.19
  • NODE_ENV=production
  • NEXT_TELEMETRY_DISABLED=1
  • PORT=3000
Layers
  • 001 sha256:9398808236ffac29e60c04ec906d8d409af7fa19dc57d8c65ad167e9c4967006 3.22 MB
  • 002 sha256:4e66acbea62d32b37e647ba2e8c441eea09b604338e6495964a063be39e0aa73 45.5 MB
  • 003 sha256:335da6721294b996d6afdc42a1fb5fdc9c5c89c9331947c0b51234d68737292e 2.23 MB
  • 004 sha256:658f63b67090d2f4465130165c1cf5c2fbcd1c20ff635b8ae3d88e8fb4107a9a 451 Bytes
  • 005 sha256:556c7b12f12e288542318c94af3324c4c578fca2e089725e6fa8de18e9f1ed76 125 Bytes
  • 006 sha256:b13f318ec2f0d3a364b66088a061ab57378453d52ed4f0ce6ac45cf3df197b7a 553 Bytes
  • 007 sha256:1a2e0ffc5cf03fe59dab53cd75751b3b4b72a7d859165158fb5573f7ad852b77 1.27 KB
  • 008 sha256:fe713b18776ca7004192d4c57d9c779c5756f40750013ee552589d8d8a59f93d 586 Bytes
  • 009 sha256:260dea6f8944c329e5dc1531dce3b4ed3a2cd00fdae5ae5aee384479a0476e9b 2.21 KB
  • 010 sha256:075cdc599ef809ae6ea591db5412cc63d7cea33ff2476ed8b11dcc13de32eccd 772 Bytes
  • 011 sha256:0c3f7b27ff261ef75702c17b8f21e19b69fa55e74232576d255c515075e80558 1.7 KB
  • 012 sha256:93e96d08b3e5efa6d8f7646d8d437a33ef6771cb33a020575823fb12362b32cc 17.2 MB
  • 013 sha256:34e0c68c5ed80101835ed1ac3fdb10c614493bc0c295ef122e815e41653d7b29 190 KB
History
[2023-08-07 19:20:26 UTC] /bin/sh -c #(nop) ADD file:6dd87346b8be240b21b4f4d9296253bf0d28b6579aa52d2118872e3936963b6b in / [2023-08-07 19:20:26 UTC] /bin/sh -c #(nop) CMD ["/bin/sh"] [2023-08-10 17:24:02 UTC] /bin/sh -c #(nop) ENV NODE_VERSION=18.17.1 [2023-08-10 17:24:10 UTC] /bin/sh -c addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node && apk add --no-cache libstdc++ && apk add --no-cache --virtual .build-deps curl && ARCH= && alpineArch="$(apk --print-arch)" && case "${alpineArch##*-}" in x86_64) ARCH='x64' CHECKSUM="a67f0b51f0951382709abb5613ee577b5af648752ed363ae32411214041f4e73" ;; *) ;; esac && if [ -n "${CHECKSUM}" ]; then set -eu; curl -fsSLO --compressed "https://unofficial-builds.nodejs.org/download/release/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz"; echo "$CHECKSUM node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && ln -s /usr/local/bin/node /usr/local/bin/nodejs; else echo "Building from source" && apk add --no-cache --virtual .build-deps-full binutils-gold g++ gcc gnupg libgcc linux-headers make python3 && export GNUPGHOME="$(mktemp -d)" && for key in 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 74F12602B6F1C4E913FAA37AD3A89613643B6201 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xf "node-v$NODE_VERSION.tar.xz" && cd "node-v$NODE_VERSION" && ./configure && make -j$(getconf _NPROCESSORS_ONLN) V= && make install && apk del .build-deps-full && cd .. && rm -Rf "node-v$NODE_VERSION" && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt; fi && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" && apk del .build-deps && node --version && npm --version [2023-08-10 17:24:11 UTC] /bin/sh -c #(nop) ENV YARN_VERSION=1.22.19 [2023-08-10 17:24:15 UTC] /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apk del .build-deps-yarn && yarn --version [2023-08-10 17:24:15 UTC] /bin/sh -c #(nop) COPY file:4d192565a7220e135cab6c77fbc1c73211b69f3d9fb37e62857b2c6eb9363d51 in /usr/local/bin/ [2023-08-10 17:24:15 UTC] /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"] [2023-08-10 17:24:15 UTC] /bin/sh -c #(nop) CMD ["node"] [2023-08-25 22:02:11 UTC] WORKDIR /app [2023-08-25 22:02:12 UTC] ENV NODE_ENV=production [2023-08-25 22:02:12 UTC] ENV NEXT_TELEMETRY_DISABLED=1 [2023-08-25 22:02:12 UTC] RUN /bin/sh -c addgroup --system --gid 1001 nodejs # buildkit [2023-08-25 22:02:12 UTC] RUN /bin/sh -c adduser --system --uid 1001 nextjs # buildkit [2023-08-25 22:03:31 UTC] COPY /app/next.config.mjs ./ # buildkit [2023-08-25 22:03:31 UTC] COPY /app/public ./public # buildkit [2023-08-25 22:03:31 UTC] COPY /app/package.json ./package.json # buildkit [2023-08-25 22:03:31 UTC] COPY /app/prisma ./prisma # buildkit [2023-08-25 22:03:31 UTC] COPY /app/.next/standalone ./ # buildkit [2023-08-25 22:03:31 UTC] COPY /app/.next/static ./.next/static # buildkit [2023-08-25 22:03:31 UTC] USER nextjs [2023-08-25 22:03:31 UTC] EXPOSE map[3000/tcp:{}] [2023-08-25 22:03:31 UTC] ENV PORT=3000 [2023-08-25 22:03:31 UTC] CMD ["/bin/sh" "-c" "npm run migrate:prod ; node server.js"]