Switch back to sh

This commit is contained in:
Magnus Walbeck 2021-04-19 17:11:37 +02:00
parent 51bab035c4
commit 9886996d08
Signed by: mwalbeck
GPG key ID: CCB78CFF3F950769

View file

@ -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;