Skip to content

Commit

Permalink
Merge pull request #430 from cybertec-postgresql/429_add_psql_to_docker
Browse files Browse the repository at this point in the history
[+] add `psql` client to the Docker image by default, closes #429
  • Loading branch information
pashagolub committed Apr 29, 2022
2 parents 56c9d24 + 05e5921 commit 64ac147
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ COPY . .
# Build the application
RUN go build -buildvcs=false -ldflags "-X main.commit=${COMMIT} -X main.version=${VERSION} -X main.date=${DATE}" -o pg_timetable .

FROM scratch
FROM alpine

# Install psql client
RUN apk --no-cache add postgresql-client

# Copy the binary and certificates into the container
COPY --from=builder /build/pg_timetable /
Expand Down

0 comments on commit 64ac147

Please sign in to comment.