Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72ebdd7

Browse files
authored
Merge pull request #145 from pzelnip/codependentcodr/ch261/refactor-dockerfile-to-build-a-new-base-image
Rework Dockerfile to use separate base Docker image [ch261]
2 parents 68a03d7 + 1286fb2 commit 72ebdd7

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
FROM alpine:latest
1+
FROM pzelnip/codependentcodrbase:latest
22

33
WORKDIR /build
44

5-
RUN apk add --no-cache --update \
6-
python3 nodejs-current-npm make git curl
7-
8-
RUN python3 -m ensurepip
9-
RUN pip3 install --upgrade pip
10-
11-
# needed for Pylint 2.0.0
12-
RUN apk add --no-cache --update python3-dev gcc build-base
13-
14-
RUN npm install -g markdownlint-cli
15-
165
COPY requirements.txt /build/requirements.txt
176
RUN pip3 install -r requirements.txt
187

0 commit comments

Comments
 (0)