Skip to content

Commit

Permalink
feat(docker): update base images in Dockerfiles to newer versions
Browse files Browse the repository at this point in the history
Updating the base images in Dockerfiles for both the publication and
stock-center services to use newer versions of node and golang. This
change ensures that the services are running on the latest supported and
more secure versions of these platforms. The update includes moving from
node:lts-alpine3.18 to node:lts-alpine3.20 and from older versions of
golang-alpine to golang:1.22.6-alpine3.20, which may include performance
improvements and security patches.
  • Loading branch information
cybersiddhu committed Aug 10, 2024
1 parent 69524df commit 53b5e03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.publication
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine3.18 AS base
FROM node:lts-alpine3.20 AS base

FROM base AS builder
ARG BUILD_STATE="development"
Expand Down Expand Up @@ -28,7 +28,7 @@ COPY --from=builder /app/out/full/ .
RUN yarn turbo run build --filter=publication


FROM golang:1.21.7-alpine3.19
FROM golang:1.22.6-alpine3.20

RUN apk update \
&& apk add git \
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.stock-center
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine3.18 AS base
FROM node:lts-alpine3.20 AS base

FROM base AS builder
ARG BUILD_STATE="development"
Expand Down Expand Up @@ -28,7 +28,7 @@ COPY --from=builder /app/out/full/ .
RUN yarn turbo run build --filter=stock-center


FROM golang:1.20.7-alpine3.18
FROM golang:1.22.6-alpine3.20

RUN apk update \
&& apk add git \
Expand Down

0 comments on commit 53b5e03

Please sign in to comment.