Skip to content

Commit 1f1ba0a

Browse files
authored
Merge pull request #30 from mutablelogic/v1
Updated versions for Dockerfile
2 parents c873f76 + 765f95e commit 1f1ba0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

etc/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ ARG OS
22
ARG ARCH
33

44
# Run makefile to build all the commands
5-
FROM --platform=${OS}/${ARCH} golang:1.22-bullseye AS builder
5+
FROM --platform=${OS}/${ARCH} golang:1.22 AS builder
66
ARG OS
77
ARG ARCH
88
WORKDIR /usr/src/app
99
COPY . .
1010
RUN OS=${OS} ARCH=${ARCH} make
1111

1212
# Copy server to /usr/local/bin
13-
FROM --platform=${OS}/${ARCH} debian:bullseye-slim
13+
FROM --platform=${OS}/${ARCH} debian:bookworm-slim
1414
ARG OS
1515
ARG ARCH
1616
ARG SOURCE
1717
RUN apt update && apt install -y ca-certificates
1818
COPY --from=builder /usr/src/app/build/* /usr/local/bin/
1919
COPY etc/entrypoint.sh .
20+
RUN chmod +x entrypoint.sh
2021

2122
# Labels
2223
LABEL org.opencontainers.image.source=${SOURCE}

0 commit comments

Comments
 (0)