docker-cyberchef/Dockerfile
renovate-bot 70298fdbcc
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 3c216da
2025-01-20 03:05:36 +00:00

21 lines
745 B
Docker

FROM node:20.18.1-bullseye@sha256:5f1a5776281e13d0bef476110ed28b3d16c63d4095d126d504dfb0e27b854f03 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:3c216da7d3aa0384782e1199a7b30c8d3bc4b0288dcac32c178b0c0fb26f8059
COPY --from=build /tmp/cyberchef/build/prod /usr/share/nginx/html
EXPOSE 8080