Skip to content

Commit 039cf21

Browse files
authored
Merge pull request #486 from sir-gon/develop
[CONFIG] Docker Alpine-based images updated to Alpine 3.20
2 parents 0fffd08 + fc12007 commit 039cf21

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM python:3.12.3-alpine3.19 AS base
1+
###############################################################################
2+
FROM python:3.12.3-alpine3.20 AS base
23

34
ENV WORKDIR=/app
45
WORKDIR ${WORKDIR}
56

6-
FROM node:20.2.0-alpine3.16 AS lint
7+
###############################################################################
8+
FROM node:20.14.0-alpine3.20 AS lint
79

810
ENV WORKDIR=/app
911
WORKDIR ${WORKDIR}
@@ -15,10 +17,12 @@ RUN npm install -g --ignore-scripts markdownlint-cli
1517
RUN apk add --update --no-cache nodejs npm
1618
RUN npm install -g --ignore-scripts pyright
1719

20+
###############################################################################
1821
FROM base AS development
1922

2023
RUN apk add --update --no-cache make
2124

25+
###############################################################################
2226
FROM development AS builder
2327

2428
COPY ./src ${WORKDIR}/src
@@ -29,6 +33,7 @@ RUN ls -alh
2933

3034
RUN pip install -r requirements.txt
3135

36+
###############################################################################
3237
### In testing stage, can't use USER, due permissions issue
3338
## in github actions environment:
3439
##
@@ -47,6 +52,7 @@ RUN ls -alh
4752

4853
CMD ["make", "test", "-e", "{DEBUG}"]
4954

55+
###############################################################################
5056
### In production stage
5157
## in the production phase, "good practices" such as
5258
## WORKSPACE and USER are maintained

0 commit comments

Comments
 (0)