summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-12-26 06:09:45 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-12-26 06:09:45 +0530
commitbd1fb6167b28d92c06f75fe414f219c83a03b0af (patch)
tree18ea88e2c0ccfdc9de562ff0faf03760778adfb2 /Dockerfile
parent59f1eb1219d744792f3bda9d7ab55338b028d2ac (diff)
Dockerfile: Removing excluded package's build dependency and Compiler Flag
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 6dd20d1..30173a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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