aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-09-06 19:29:16 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-09-06 19:29:16 -0400
commit8ba57c2353870532f12076e204f12300a34016c2 (patch)
treeaf97db70ff3953b638ef11f08c1cd24ff914bf07 /Dockerfile
parent47f400e404f83e563b76ec7382e7a5a37e6170d6 (diff)
parent51c546665f348c773c97cc0ea2108e3bada1fb8f (diff)
downloaddonetick-8ba57c2353870532f12076e204f12300a34016c2.tar.gz
donetick-8ba57c2353870532f12076e204f12300a34016c2.tar.bz2
donetick-8ba57c2353870532f12076e204f12300a34016c2.zip
Add libc6-compat to the image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ef46a01..5d4a62b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# Stage 1: Build the application
-FROM golang:1.22 AS builder
+FROM golang:1.22-alpine AS builder
WORKDIR /usr/src/app
@@ -13,7 +13,7 @@ RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -buildvcs=false -o /donet
FROM alpine:latest
# Install necessary CA certificates
-RUN apk --no-cache add ca-certificates
+RUN apk --no-cache add ca-certificates libc6-compat
# Copy the binary and config folder from the builder stage
COPY --from=builder /donetick /donetick