rebuild ciscoasa for alpine 3.13

This commit is contained in:
t3chn0m4g3 2021-02-15 10:01:03 +00:00
parent b01bf50aaf
commit a28ee97f13
2 changed files with 4 additions and 4 deletions

View file

@ -1,17 +1,17 @@
FROM alpine:3.12 FROM alpine:3.13
# #
# Include dist # Include dist
ADD dist/ /root/dist/ ADD dist/ /root/dist/
# #
# Setup env and apt # Setup env and apt
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \ RUN apk -U upgrade && \
apk -U upgrade && \
apk add build-base \ apk add build-base \
git \ git \
libffi \ libffi \
libffi-dev \ libffi-dev \
openssl \ openssl \
openssl-dev \ openssl-dev \
py3-cryptography \
py3-pip \ py3-pip \
python3 \ python3 \
python3-dev && \ python3-dev && \

View file

@ -28,7 +28,7 @@ RUN apk -U --no-cache add \
# 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 cyberchef
USER nobody:nobody USER nobody:nobody
WORKDIR /opt/cyberchef WORKDIR /opt/cyberchef
CMD ["http-server", "-p", "8000"] CMD ["http-server", "-p", "8000"]