docker-cyberchef/Dockerfile
renovate-bot 869dce8615
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update nginxinc/nginx-unprivileged:1.26.2 Docker digest to 4dc24ad
2024-12-16 03:05:49 +00:00

22 lines
745 B
Docker

FROM node:20.18.1-bullseye@sha256:8c8c1efae89a0d5952a15b6f71c007577a2eca493e3ac7068196df05aceaab24 as build
# renovate: datasource=github-tags depName=gchq/CyberChef versioning=semver
ENV CYBERCHEF_VERSION v10.19.4
USER node
RUN set -ex; \
mkdir /tmp/cyberchef;
WORKDIR /tmp/cyberchef
RUN set -ex; \
git clone --branch $CYBERCHEF_VERSION https://github.com/gchq/CyberChef.git .; \
npm install; \
npx grunt prod; \
rm /tmp/cyberchef/build/prod/BundleAnalyzerReport.html /tmp/cyberchef/build/prod/CyberChef_$CYBERCHEF_VERSION.zip;
FROM nginxinc/nginx-unprivileged:1.26.2@sha256:4dc24adb9f46f6c5bbdea47e03a22343d515687c1c9077cf3df36dd9c0a97441
COPY --from=build /tmp/cyberchef/build/prod /usr/share/nginx/html
EXPOSE 8080