Skip to content

Commit 90726f8

Browse files
committed
Fix Dockerfile apt-get install to auto-confirm
1 parent d65678e commit 90726f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM golang:1.21 AS build
33
WORKDIR /usr/src/app
44
COPY . .
55
# get ssl certs to copy into scratch image, as it won't have them by default.
6-
RUN apt update && apt-get install git ca-certificates && update-ca-certificates
6+
RUN apt update && apt-get install -y git ca-certificates && update-ca-certificates
77
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -v -o /event-service ./cmd/event-service
88

99

0 commit comments

Comments
 (0)