Skip to content

Commit

Permalink
chore: remove cache from build
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Apr 28, 2024
1 parent 80a2bfb commit f188f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM --platform=$BUILDPLATFORM golang:1.21.6-bookworm AS build-env
ENV CGO_ENABLED=0
WORKDIR /src
COPY . .
RUN --mount=type=cache,target=/root/.cache/go-build go build -o goapp .
RUN go build -o goapp .

# final stage
FROM --platform=$BUILDPLATFORM debian:bookworm
Expand Down

0 comments on commit f188f74

Please sign in to comment.