File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,9 @@ FROM base AS lint
22
22
ENV WORKDIR=/app
23
23
WORKDIR ${WORKDIR}
24
24
25
- RUN apk add --update --no-cache make nodejs npm
26
- RUN apk add --update --no-cache yamllint
27
-
28
- RUN npm install -g --ignore-scripts markdownlint-cli
25
+ RUN apk add --update --no-cache make nodejs npm \
26
+ && apk add --update --no-cache yamllint \
27
+ && npm install -g --ignore-scripts markdownlint-cli
29
28
30
29
# [!TIP] Use a bind-mount to "/app" to override following "copys"
31
30
# for lint and test against "current" sources in this stage
@@ -74,11 +73,11 @@ RUN ls -alh
74
73
# ##############################################################################
75
74
FROM development AS builder
76
75
76
+ RUN apk add --update --no-cache rsync
77
+
77
78
ENV WORKDIR=/app
78
79
WORKDIR ${WORKDIR}
79
80
80
- RUN apk add --update --no-cache rsync
81
-
82
81
RUN rsync -av --prune-empty-dirs \
83
82
--exclude '*_test.py' \
84
83
--exclude '*.pyc' \
@@ -120,9 +119,9 @@ ENV BRUTEFORCE=false
120
119
ENV WORKDIR=/app
121
120
WORKDIR ${WORKDIR}
122
121
123
- RUN adduser -D worker
124
- RUN mkdir -p /app
125
- RUN chown worker:worker /app
122
+ RUN adduser -D worker \
123
+ && mkdir -p /app \
124
+ && chown worker:worker /app
126
125
127
126
COPY ./Makefile ${WORKDIR}/
128
127
You can’t perform that action at this time.
0 commit comments