This commit is contained in:
Your Name
2025-05-03 19:56:20 +12:00
parent aafcc4cafe
commit 6c03512637
6 changed files with 32 additions and 39 deletions

View File

@@ -1,14 +1,11 @@
# Create final image
FROM alpine:latest
FROM debian:latest
ARG TARGETOS
ARG TARGETARCH
# Copy binary from builder
RUN apk update && apk add --no-cache curl bash wget gzip && rm -rf /var/cache/apk/*
RUN mkdir -p /sos
COPY --chmod=0755 exe/simple_object_storage-${TARGETOS}-${TARGETARCH} /sos/sos