Skip to content

Commit aad20fd

Browse files
committed
updated docker to include AWS
1 parent 5fc56ee commit aad20fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ COPY cmd ./cmd
1212
RUN CGO_ENABLED=0 GOOS=linux go build -o /deploygrid ./cmd/main
1313

1414
# Deploy the application binary into a lean image
15-
FROM gcr.io/distroless/base-debian11 AS build-release-stage
15+
FROM debian:bookworm AS build-release-stage
16+
17+
RUN apt-get update && apt-get install -y awscli && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
1618

1719
WORKDIR /
1820

1921
COPY --from=build-stage /deploygrid /usr/bin/deploygrid
2022

21-
USER nonroot:nonroot
22-
2323
ENTRYPOINT ["/usr/bin/deploygrid"]

0 commit comments

Comments
 (0)