Skip to content

Commit

Permalink
Allow using C lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Apr 27, 2024
1 parent 14b41ea commit 13f4fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build binary
FROM golang:1.19-alpine AS builder
FROM golang:1.19 AS builder

COPY . /go/src/github.com/nimbolus/terraform-backend

Expand All @@ -8,7 +8,7 @@ WORKDIR /go/src/github.com/nimbolus/terraform-backend
RUN GOOS=linux CGO_ENABLED=1 go build cmd/terraform-backend.go

# start clean for final image
FROM alpine:3
FROM debian:12

COPY --from=builder /go/src/github.com/nimbolus/terraform-backend/terraform-backend /terraform-backend

Expand Down

0 comments on commit 13f4fa7

Please sign in to comment.