mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking, cleanup
This commit is contained in:
@ -1,9 +1,12 @@
|
||||
FROM golang:1.23-alpine AS builder
|
||||
RUN <<EOF
|
||||
apk -U add build-base git
|
||||
apk --no-cache -U upgrade
|
||||
apk --no-cache -U add build-base git
|
||||
mkdir -p /opt
|
||||
cd /opt
|
||||
git clone https://github.com/t3chn0m4g3/galah
|
||||
cd galah
|
||||
git checkout d4739ec5abaed83c5367716a77908be548d3d003
|
||||
EOF
|
||||
WORKDIR /opt/galah
|
||||
ENV CGO_ENABLED=1
|
||||
@ -13,6 +16,7 @@ go build -o galah ./cmd/galah
|
||||
EOF
|
||||
#
|
||||
FROM alpine:3.20
|
||||
RUN apk --no-cache -U upgrade
|
||||
COPY --from=builder /opt/galah/ /opt/galah/
|
||||
#
|
||||
# Start galah
|
||||
|
Reference in New Issue
Block a user