Skip to content

Commit

Permalink
chore(docker): update base images in temporalite.Dockerfile
Browse files Browse the repository at this point in the history
Replace ECR public images with official golang and debian images
to streamline the build process and reduce dependencies.
  • Loading branch information
flemzord committed Sep 18, 2024
1 parent fdb8372 commit f7d9e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/temporalite.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/golang:1.19 AS builder
FROM golang:1.19 AS builder

RUN mkdir -p ${GOPATH:-/go}/src/temporalite && \
git clone https://github.com/temporalio/temporalite.git ${GOPATH:-/go}/src/temporalite && \
Expand All @@ -8,7 +8,7 @@ RUN mkdir -p ${GOPATH:-/go}/src/temporalite && \
go get -d -v ./... && \
go build -o ${GOPATH:-/go}/bin/ ${GOPATH:-/go}/src/temporalite/cmd/temporalite

FROM public.ecr.aws/debian/debian:stable-slim
FROM debian:stable-slim

COPY --from=builder ${GOPATH:-/go}/bin/temporalite /bin
EXPOSE 7233 8233
Expand Down

0 comments on commit f7d9e35

Please sign in to comment.