diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-12-26 06:09:45 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-12-26 06:09:45 +0530 |
commit | bd1fb6167b28d92c06f75fe414f219c83a03b0af (patch) | |
tree | 18ea88e2c0ccfdc9de562ff0faf03760778adfb2 /Dockerfile | |
parent | 59f1eb1219d744792f3bda9d7ab55338b028d2ac (diff) |
Dockerfile: Removing excluded package's build dependency and Compiler Flag
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -8,12 +8,8 @@ RUN go mod download COPY . . -#Install the build dependencies -RUN apk add --no-cache gcc libc-dev - # Build the binary -#CGO_ENABLED=1 for go-sqlite3 to work -RUN CGO_ENABLED=1 go build -o main . +RUN go build -o main . # Runner Stage FROM alpine:latest |