File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,15 @@ ENV WORKDIR=/app
5
5
WORKDIR ${WORKDIR}
6
6
7
7
# ##############################################################################
8
- FROM node:20.14.0-alpine3.20 AS lint
8
+ FROM base AS lint
9
9
10
10
ENV WORKDIR=/app
11
11
WORKDIR ${WORKDIR}
12
12
13
13
COPY ./src ${WORKDIR}/src
14
- RUN apk add --update --no-cache make
15
- RUN npm install -g --ignore-scripts markdownlint-cli
14
+ RUN apk add --update --no-cache make nodejs npm
16
15
17
- RUN apk add --update --no-cache nodejs npm
16
+ RUN npm install -g --ignore-scripts markdownlint-cli
18
17
RUN npm install -g --ignore-scripts pyright
19
18
20
19
# ##############################################################################
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ clean:
110
110
find . -path " */__pycache__" -type d -print -exec rm -fr {} ' ;'
111
111
112
112
compose/build : env
113
+ docker-compose --profile lint build
113
114
docker-compose --profile testing build
114
115
115
116
compose/rebuild : env
@@ -118,10 +119,10 @@ compose/rebuild: env
118
119
119
120
compose/mdlint : env
120
121
docker-compose --profile lint build
121
- docker-compose --profile lint run --rm algorithm-exercises-py-mdlint make mdlint
122
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make mdlint
122
123
123
124
compose/test/static : compose/build
124
- docker-compose --profile testing run --rm algorithm-exercises-py make test/static
125
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make test/static
125
126
126
127
compose/lint : compose/test/static compose/mdlint
127
128
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ services:
11
11
- ./coverage:/app/coverage
12
12
profiles : ["testing"]
13
13
14
- algorithm-exercises-py-mdlint :
15
- image : algorithm-exercises-ts:mdlint
14
+ algorithm-exercises-py-lint :
15
+ image : algorithm-exercises-py:lint
16
16
build :
17
17
context : .
18
18
target : lint
You can’t perform that action at this time.
0 commit comments