Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Oct 14, 2024
1 parent 8640a41 commit 277f52b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion InnerBuild.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ARG BUILD_IMAGE=golang:alpine
ARG RUNTIME_IMAGE=alpine

FROM ${BUILD_IMAGE} AS builder

WORKDIR /workspace
Expand All @@ -17,7 +19,6 @@ RUN go env
# Build the application
RUN go build -ldflags "-w -s -X main.VERSION=${RELEASE_TAG}" -o ./${APP} .

ARG RUNTIME_IMAGE=alpine
FROM ${RUNTIME_IMAGE}

ARG TZ="Asia/Shanghai"
Expand Down

0 comments on commit 277f52b

Please sign in to comment.