landing/backend (sha-e5b87be)

Published 2025-02-22 23:49:29 +00:00 by org-bot-alerte-secours

Installation

docker pull git.devthefuture.org/alerte-secours/landing/backend:sha-e5b87be
sha256:5d04b316ad5a432fa2a14dd9263a742109e2c5aa6de7a36bc451a104c050c815

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:1b6c8c9518be42fa2afe5e241ca31677fce58d27cdfa88baa91a65a259be3637 in /
CMD ["/bin/bash"]
RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y curl ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
ARG NODE_VERSION
ARG NODE_PACKAGE=node-v20.3.0-linux-x64
ARG NODE_HOME=/opt/node-v20.3.0-linux-x64
ENV NODE_PATH=/opt/node-v20.3.0-linux-x64/lib/node_modules
ENV PATH=/opt/node-v20.3.0-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |3 NODE_VERSION=20.3.0 NODE_PACKAGE=node-v20.3.0-linux-x64 NODE_HOME=/opt/node-v20.3.0-linux-x64 /bin/sh -c curl https://nodejs.org/dist/v$NODE_VERSION/$NODE_PACKAGE.tar.gz | tar -xzC /opt/ # buildkit
RUN |3 NODE_VERSION=20.3.0 NODE_PACKAGE=node-v20.3.0-linux-x64 NODE_HOME=/opt/node-v20.3.0-linux-x64 /bin/sh -c npm i -g yarn # buildkit
WORKDIR /app
RUN |3 NODE_VERSION=20.3.0 NODE_PACKAGE=node-v20.3.0-linux-x64 NODE_HOME=/opt/node-v20.3.0-linux-x64 /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node && chown 1000:1000 /app # buildkit
USER 1000
ENV NODE_ENV=production
ENV CI=true
ENV HUSKY=0
USER 0
RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y libnss3 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
USER 1000
COPY /app /app # buildkit
COPY seed-data.tar.gz ./seed-data.tar.gz # buildkit
COPY backend/entrypoint.sh / # buildkit
ENTRYPOINT ["/entrypoint.sh"]
CMD ["yarn" "workspace" "backend" "start"]

Labels

Key Value
org.opencontainers.image.created 2025-02-22T23:44:46.463Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision e5b87beab92b4ee7d1f7d44cfb84e2c50561f428
org.opencontainers.image.source https://git.devthefuture.org/alerte-secours/landing
org.opencontainers.image.title landing
org.opencontainers.image.url https://git.devthefuture.org/alerte-secours/landing
org.opencontainers.image.version sha-e5b87be
Details
Container
2025-02-22 23:49:29 +00:00
1
OCI / Docker
linux/amd64
279 MiB
Versions (25) View all
latest 2025-04-06
main 2025-04-06
sha-386849e 2025-04-06
sha-804b7ca 2025-04-06
sha-f33bff3 2025-03-27