Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
maiquanghiep committed Sep 13, 2024
1 parent 1a93449 commit 4f39be4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
## Image for building
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS build-env
FROM golang:1.23-alpine AS build-env


ARG TARGETOS TARGETARCH
# Version to build. Default is empty.
ARG VERSION

Expand Down Expand Up @@ -38,8 +37,6 @@ RUN CGO_LDFLAGS="$CGO_LDFLAGS -lstdc++ -lm -lsodium" \
CGO_ENABLED=1 \
BUILD_TAGS=$BUILD_TAGS \
LINK_STATICALLY=true \
GOOS=${TARGETOS} \
GOARCH=${TARGETARCH} \
make build

FROM alpine:3.16 AS run
Expand Down

0 comments on commit 4f39be4

Please sign in to comment.