Skip to content

Commit

Permalink
[+] add psql client to the Docker image by default, closes #429
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Apr 29, 2022
1 parent 56c9d24 commit 05e5921
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 05e5921

Please sign in to comment.