mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
bump to alpine 3.17
This commit is contained in:
parent
90eab744b1
commit
2fd0f62484
14 changed files with 15 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN apk --no-cache -U add \
|
RUN apk --no-cache -U add \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
@ -75,7 +75,6 @@ RUN apk --no-cache -U add \
|
||||||
# Clean up
|
# Clean up
|
||||||
apk del --purge \
|
apk del --purge \
|
||||||
build-base \
|
build-base \
|
||||||
cython-dev \
|
|
||||||
file \
|
file \
|
||||||
git \
|
git \
|
||||||
libev \
|
libev \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Setup apk
|
# Setup apk
|
||||||
RUN apk -U add --no-cache \
|
RUN apk -U add --no-cache \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
|
@ -16,7 +16,7 @@ RUN apk -U add --no-cache \
|
||||||
make && \
|
make && \
|
||||||
mv /opt/endlessh/endlessh /root/dist
|
mv /opt/endlessh/endlessh /root/dist
|
||||||
#
|
#
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
COPY --from=builder /root/dist/* /opt/endlessh/
|
COPY --from=builder /root/dist/* /opt/endlessh/
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Get and install dependencies & packages
|
# Get and install dependencies & packages
|
||||||
RUN apk -U --no-cache add \
|
RUN apk -U --no-cache add \
|
||||||
|
|
|
@ -26,7 +26,7 @@ RUN apk -U --no-cache add \
|
||||||
make build && \
|
make build && \
|
||||||
mv /root/dist/rules.yaml /opt/go/glutton/rules/
|
mv /root/dist/rules.yaml /opt/go/glutton/rules/
|
||||||
#
|
#
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
COPY --from=builder /opt/go/glutton/bin /opt/glutton/bin
|
COPY --from=builder /opt/go/glutton/bin /opt/glutton/bin
|
||||||
COPY --from=builder /opt/go/glutton/config /opt/glutton/config
|
COPY --from=builder /opt/go/glutton/config /opt/glutton/config
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
@ -17,7 +17,7 @@ RUN apk -U --no-cache add \
|
||||||
mkdir -p /opt/go && \
|
mkdir -p /opt/go && \
|
||||||
git clone https://github.com/yunginnanet/HellPot && \
|
git clone https://github.com/yunginnanet/HellPot && \
|
||||||
cd HellPot && \
|
cd HellPot && \
|
||||||
git checkout cadca0adf9970d86124ae8f0246423d0c1f13cf4 && \
|
git checkout 49433bf499b6af314786cbbc3cb8566cdb18c40c && \
|
||||||
sed -i 's#logFileName := "HellPot"#logFileName := "hellpot"#g' internal/config/logger.go && \
|
sed -i 's#logFileName := "HellPot"#logFileName := "hellpot"#g' internal/config/logger.go && \
|
||||||
go build cmd/HellPot/HellPot.go && \
|
go build cmd/HellPot/HellPot.go && \
|
||||||
mv /root/HellPot/HellPot /opt/hellpot/ && \
|
mv /root/HellPot/HellPot /opt/hellpot/ && \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
COPY dist/ /root/dist/
|
COPY dist/ /root/dist/
|
||||||
|
|
Loading…
Reference in a new issue