File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ RUN zig build -Doptimize=ReleaseSafe
4848# Runtime stage
4949FROM alpine:${ALPINE_VERSION}
5050WORKDIR /app
51+ ARG PORT
52+ ARG RUN_CONCURRENCY
53+ ARG RUN_OUTPUT_MAX
54+ ARG DEBUG
55+ ARG ALLOW_SHUTDOWN
5156RUN adduser -S -u 10001 app
5257COPY --from=builder /build/zig-out/bin/runner-zig /app/codebattle_runner
5358ENV PORT=$PORT \
Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ container-build:
5959 .
6060 -@$(CONTAINER ) rmi $(IMAGE ) :$(TAG ) > /dev/null 2>&1 || true
6161 -@$(CONTAINER ) manifest rm $(IMAGE ) :$(TAG ) > /dev/null 2>&1 || true
62- $(CONTAINER ) manifest create $(IMAGE ) :$(TAG )
63- $( CONTAINER ) manifest add $( IMAGE ) :$(TAG ) $( IMAGE ) : $( TAG ) -amd64
64- $( CONTAINER ) manifest add $( IMAGE ) : $( TAG ) $(IMAGE ) :$(TAG ) -arm64
62+ $(CONTAINER ) manifest create $(IMAGE ) :$(TAG ) \
63+ $( IMAGE ) :$(TAG ) -amd64 \
64+ $(IMAGE ) :$(TAG ) -arm64
6565
6666# # Push multi-arch image manifest + all platform layers to GHCR
6767container-push :
You can’t perform that action at this time.
0 commit comments