Attempted rebuilds docker

This commit is contained in:
Frikky
2025-01-27 13:23:11 +01:00
parent 14d08b24c3
commit 1d672a288a
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ FROM alpine:latest as certs
RUN apk add --update ca-certificates
# Sets up the final image
FROM alpine:3.17.0
FROM alpine:3.21.2
# FIXME: Install cgo because CGO_ENABLED=1 during build
RUN apk add --no-cache libc6-compat
+4 -3
View File
@@ -10,11 +10,12 @@ RUN go get
# Enabled CGO January 2025 (?)
#RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o orborus.
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /app/orborus .
FROM alpine:3.15.0
FROM alpine:3.21.2
RUN apk add --no-cache bash tzdata
COPY --from=builder /app/orborus /
#COPY --from=builder /app/orborus orborus
COPY --from=builder /app/ /
ENV ENVIRONMENT_NAME=Shuffle \
BASE_URL=http://shuffle-backend:5001 \
DOCKER_API_VERSION=1.40 \
+1 -1
View File
@@ -27,7 +27,7 @@ RUN go get
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o worker .
## ALPINE IMAGE
FROM alpine:3.15.0
FROM alpine:3.21.2
ENV SHUFFLE_BASE_IMAGE_REGISTRY=docker.io
ENV SHUFFLE_BASE_IMAGE_NAME=frikky/shuffle