image tweaking

This commit is contained in:
t3chn0m4g3
2022-03-08 23:36:03 +00:00
parent 22904d402a
commit 9d7c24892d
25 changed files with 64 additions and 64 deletions

View File

@ -4,10 +4,9 @@ FROM ubuntu:20.04
ENV ES_VER=8.0.0
#
# Include dist
ADD dist/ /root/dist/
COPY dist/ /root/dist/
#
RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \
aria2 \
curl && \
@ -37,7 +36,7 @@ RUN apt-get update -y && \
# Clean up
apt-get purge aria2 -y && \
apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/dist
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/*
#
# Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9200/_cat/health'

View File

@ -3,10 +3,9 @@ FROM ubuntu:20.04
# VARS
ENV KB_VER=8.0.0
# Include dist
ADD dist/ /root/dist/
COPY dist/ /root/dist/
#
RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \
aria2 \
curl && \
@ -47,7 +46,7 @@ RUN apt-get update -y && \
# Clean up
apt-get purge aria2 -y && \
apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/dist
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/*
#
# Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:5601'

View File

@ -3,11 +3,10 @@ FROM ubuntu:20.04
# VARS
ENV LS_VER=8.0.0
# Include dist
ADD dist/ /root/dist/
COPY dist/ /root/dist/
#
# Setup env and apt
RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \
aria2 \
autossh \
@ -55,7 +54,7 @@ RUN apt-get update -y && \
#
# Clean up
apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/dist
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /root/*
#
# Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9600'

View File

@ -1,10 +1,10 @@
FROM alpine:3.15
#
# Include dist
ADD dist/ /root/dist/
COPY dist/ /root/dist/
#
# Install packages
RUN apk -U add \
RUN apk -U --no-cache add \
build-base \
git \
libcap \
@ -32,8 +32,7 @@ RUN apk -U add \
apk del --purge build-base \
git \
python3-dev && \
rm -rf /root/* && \
rm -rf /var/cache/apk/*
rm -rf /root/* /var/cache/apk/* /opt/geoip-attack-map/.git
#
# Start wordpot
STOPSIGNAL SIGINT