parent
51bab035c4
commit
9886996d08
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
|||
FROM node:10.24.1-buster as build
|
||||
|
||||
SHELL [ "/bin/bash", "-exc" ]
|
||||
|
||||
# renovate: datasource=github-tags depName=gchq/CyberChef versioning=semver
|
||||
ENV CYBERCHEF_VERSION v9.28.0
|
||||
|
||||
|
@ -9,11 +7,13 @@ ENV NODE_OPTIONS --max_old_space_size=2048
|
|||
|
||||
USER node
|
||||
|
||||
RUN mkdir /tmp/cyberchef;
|
||||
RUN set -ex; \
|
||||
mkdir /tmp/cyberchef;
|
||||
|
||||
WORKDIR /tmp/cyberchef
|
||||
|
||||
RUN git clone --branch $CYBERCHEF_VERSION https://github.com/gchq/CyberChef.git .; \
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue