Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushroshan committed Feb 3, 2025
1 parent 38e72d6 commit df639b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/gateway-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM golang:1.17-buster AS builder

FROM golang:1.21-bookworm AS builder
WORKDIR /app

COPY go.* ./
Expand All @@ -16,7 +15,8 @@ RUN wget https://github.com/minio/certgen/releases/latest/download/certgen-linux
RUN /tmp/certgen -host "127.0.0.1,gateway-service,api.mypremiumdealership.com,mypremiumdealership.com"
RUN ls -la

FROM debian:buster-slim
FROM debian:bookworm-slim
SHELL ["/bin/bash", "-c"]
WORKDIR /app

RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
Expand Down

0 comments on commit df639b5

Please sign in to comment.