docker-cyberchef/Dockerfile
renovate-bot 93bd4ad88c
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
Update Node.js to f1b7f97
2025-01-23 02:05:35 +00:00

21 lines
745 B
Docker

FROM node:20.18.2-bullseye@sha256:f1b7f97f238e5a6e024b766dfca61e5f7b8de01f3103f92cebec3648b058bffe 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