mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
bump cyberchef to latest master
This commit is contained in:
parent
f1275e5b07
commit
78d9d1f7c7
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
FROM alpine:3.8
|
FROM alpine
|
||||||
|
#
|
||||||
# Get and install dependencies & packages
|
# Get and install dependencies & packages
|
||||||
RUN apk -U --no-cache add \
|
RUN apk -U --no-cache add \
|
||||||
curl \
|
curl \
|
||||||
|
@ -9,7 +9,7 @@ RUN apk -U --no-cache add \
|
||||||
npm install -g grunt-cli && \
|
npm install -g grunt-cli && \
|
||||||
npm install -g http-server && \
|
npm install -g http-server && \
|
||||||
npm install npm@latest -g && \
|
npm install npm@latest -g && \
|
||||||
|
#
|
||||||
# Install CyberChef
|
# Install CyberChef
|
||||||
cd /root && \
|
cd /root && \
|
||||||
git clone https://github.com/gchq/cyberchef --depth=1 && \
|
git clone https://github.com/gchq/cyberchef --depth=1 && \
|
||||||
|
@ -20,16 +20,16 @@ RUN apk -U --no-cache add \
|
||||||
mkdir -p /opt/cyberchef && \
|
mkdir -p /opt/cyberchef && \
|
||||||
mv build/prod/* /opt/cyberchef && \
|
mv build/prod/* /opt/cyberchef && \
|
||||||
cd / && \
|
cd / && \
|
||||||
|
#
|
||||||
# Clean up
|
# Clean up
|
||||||
apk del --purge git \
|
apk del --purge git \
|
||||||
npm && \
|
npm && \
|
||||||
rm -rf /root/* && \
|
rm -rf /root/* && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
#
|
||||||
# Healthcheck
|
# Healthcheck
|
||||||
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:8000'
|
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:8000'
|
||||||
|
#
|
||||||
# Set user, workdir and start spiderfoot
|
# Set user, workdir and start spiderfoot
|
||||||
USER nobody:nobody
|
USER nobody:nobody
|
||||||
WORKDIR /opt/cyberchef
|
WORKDIR /opt/cyberchef
|
||||||
|
|
Loading…
Reference in a new issue