Skip to content

Commit 7196c70

Browse files
committed
fix: missing SSL certificates for external payloads
1 parent 834df2a commit 7196c70

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dnspyre.dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
BUILD_ROOT=/go/dnspyre
99
ARG BUILD_BIN=${BUILD_ROOT}/dnspyre
1010

11+
# :: FOREIGN IMAGES
12+
FROM 11notes/distroless AS distroless
1113

1214
# ╔═════════════════════════════════════════════════════╗
1315
# ║ BUILD ║
1416
# ╚═════════════════════════════════════════════════════╝
15-
# :: CMD-SOCKET
17+
# :: DNSPYRE
1618
FROM 11notes/go:1.24 AS build
1719
ARG APP_VERSION \
1820
BUILD_SRC \
@@ -31,7 +33,7 @@
3133
# ╔═════════════════════════════════════════════════════╗
3234
# ║ IMAGE ║
3335
# ╚═════════════════════════════════════════════════════╝
34-
# :: HEADER
36+
# :: HEADER
3537
FROM scratch
3638

3739
# :: default arguments
@@ -54,6 +56,7 @@
5456
APP_ROOT=${APP_ROOT}
5557

5658
# :: multi-stage
59+
COPY --from=distroless / /
5760
COPY --from=build ${APP_ROOT}/ /
5861

5962
# :: EXECUTE

0 commit comments

Comments
 (0)