mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
bump to alpine:3.20 and optimize image using either from:scratch or pyinstaller
This commit is contained in:
@ -17,10 +17,8 @@ RUN apk --no-cache -U add \
|
||||
RUN git clone https://github.com/nsmfoo/dicompot.git && \
|
||||
cd dicompot && \
|
||||
git checkout 41331194156bbb17078bcc1594f4952ac06a731e && \
|
||||
cp /root/dist/go.mod . && \
|
||||
pwd && ls -alR
|
||||
cp /root/dist/go.mod .
|
||||
WORKDIR /go/dicompot
|
||||
RUN ls -alR
|
||||
RUN go mod tidy
|
||||
RUN go mod download
|
||||
RUN go build -o dicompot github.com/nsmfoo/dicompot/server
|
||||
|
Reference in New Issue
Block a user