We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c873f76 + 765f95e commit 1f1ba0aCopy full SHA for 1f1ba0a
etc/Dockerfile
@@ -2,21 +2,22 @@ ARG OS
2
ARG ARCH
3
4
# Run makefile to build all the commands
5
-FROM --platform=${OS}/${ARCH} golang:1.22-bullseye AS builder
+FROM --platform=${OS}/${ARCH} golang:1.22 AS builder
6
ARG OS
7
8
WORKDIR /usr/src/app
9
COPY . .
10
RUN OS=${OS} ARCH=${ARCH} make
11
12
# Copy server to /usr/local/bin
13
-FROM --platform=${OS}/${ARCH} debian:bullseye-slim
+FROM --platform=${OS}/${ARCH} debian:bookworm-slim
14
15
16
ARG SOURCE
17
RUN apt update && apt install -y ca-certificates
18
COPY --from=builder /usr/src/app/build/* /usr/local/bin/
19
COPY etc/entrypoint.sh .
20
+RUN chmod +x entrypoint.sh
21
22
# Labels
23
LABEL org.opencontainers.image.source=${SOURCE}
0 commit comments