Skip to content

Commit 9747981

Browse files
nvuillammegalinter-bot
authored andcommitted
[build-command] Update generated files
1 parent 5cad20a commit 9747981

File tree

129 files changed

+516
-516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+516
-516
lines changed

flavors/ci_light/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
219219
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
220220
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
221221

222-
###############################################################
223-
# Make a directory to bind mount to that isn't owned by root. #
224-
###############################################################
225-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
222+
#####################################################
223+
# Make the container rootless for sake of security. #
224+
#####################################################
225+
USER 1000
226226

227227
###########################
228228
# Get the build arguments #

flavors/cupcake/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
460460
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
461461
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
462462

463-
###############################################################
464-
# Make a directory to bind mount to that isn't owned by root. #
465-
###############################################################
466-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
463+
#####################################################
464+
# Make the container rootless for sake of security. #
465+
#####################################################
466+
USER 1000
467467

468468
###########################
469469
# Get the build arguments #

flavors/documentation/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
306306
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
307307
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
308308

309-
###############################################################
310-
# Make a directory to bind mount to that isn't owned by root. #
311-
###############################################################
312-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
309+
#####################################################
310+
# Make the container rootless for sake of security. #
311+
#####################################################
312+
USER 1000
313313

314314
###########################
315315
# Get the build arguments #

flavors/dotnet/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
401401
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
402402
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
403403

404-
###############################################################
405-
# Make a directory to bind mount to that isn't owned by root. #
406-
###############################################################
407-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
404+
#####################################################
405+
# Make the container rootless for sake of security. #
406+
#####################################################
407+
USER 1000
408408

409409
###########################
410410
# Get the build arguments #

flavors/go/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
321321
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
322322
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
323323

324-
###############################################################
325-
# Make a directory to bind mount to that isn't owned by root. #
326-
###############################################################
327-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
324+
#####################################################
325+
# Make the container rootless for sake of security. #
326+
#####################################################
327+
USER 1000
328328

329329
###########################
330330
# Get the build arguments #

flavors/java/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
334334
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
335335
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
336336

337-
###############################################################
338-
# Make a directory to bind mount to that isn't owned by root. #
339-
###############################################################
340-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
337+
#####################################################
338+
# Make the container rootless for sake of security. #
339+
#####################################################
340+
USER 1000
341341

342342
###########################
343343
# Get the build arguments #

flavors/javascript/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
322322
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
323323
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
324324

325-
###############################################################
326-
# Make a directory to bind mount to that isn't owned by root. #
327-
###############################################################
328-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
325+
#####################################################
326+
# Make the container rootless for sake of security. #
327+
#####################################################
328+
USER 1000
329329

330330
###########################
331331
# Get the build arguments #

flavors/php/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
350350
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
351351
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
352352

353-
###############################################################
354-
# Make a directory to bind mount to that isn't owned by root. #
355-
###############################################################
356-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
353+
#####################################################
354+
# Make the container rootless for sake of security. #
355+
#####################################################
356+
USER 1000
357357

358358
###########################
359359
# Get the build arguments #

flavors/python/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
317317
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
318318
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
319319

320-
###############################################################
321-
# Make a directory to bind mount to that isn't owned by root. #
322-
###############################################################
323-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
320+
#####################################################
321+
# Make the container rootless for sake of security. #
322+
#####################################################
323+
USER 1000
324324

325325
###########################
326326
# Get the build arguments #

flavors/ruby/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
307307
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
308308
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
309309

310-
###############################################################
311-
# Make a directory to bind mount to that isn't owned by root. #
312-
###############################################################
313-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
310+
#####################################################
311+
# Make the container rootless for sake of security. #
312+
#####################################################
313+
USER 1000
314314

315315
###########################
316316
# Get the build arguments #

flavors/rust/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
301301
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
302302
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
303303

304-
###############################################################
305-
# Make a directory to bind mount to that isn't owned by root. #
306-
###############################################################
307-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
304+
#####################################################
305+
# Make the container rootless for sake of security. #
306+
#####################################################
307+
USER 1000
308308

309309
###########################
310310
# Get the build arguments #

flavors/salesforce/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
328328
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
329329
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
330330

331-
###############################################################
332-
# Make a directory to bind mount to that isn't owned by root. #
333-
###############################################################
334-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
331+
#####################################################
332+
# Make the container rootless for sake of security. #
333+
#####################################################
334+
USER 1000
335335

336336
###########################
337337
# Get the build arguments #

flavors/security/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
263263
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
264264
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
265265

266-
###############################################################
267-
# Make a directory to bind mount to that isn't owned by root. #
268-
###############################################################
269-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
266+
#####################################################
267+
# Make the container rootless for sake of security. #
268+
#####################################################
269+
USER 1000
270270

271271
###########################
272272
# Get the build arguments #

flavors/swift/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
304304
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
305305
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
306306

307-
###############################################################
308-
# Make a directory to bind mount to that isn't owned by root. #
309-
###############################################################
310-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
307+
#####################################################
308+
# Make the container rootless for sake of security. #
309+
#####################################################
310+
USER 1000
311311

312312
###########################
313313
# Get the build arguments #

flavors/terraform/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
330330
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
331331
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
332332

333-
###############################################################
334-
# Make a directory to bind mount to that isn't owned by root. #
335-
###############################################################
336-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
333+
#####################################################
334+
# Make the container rootless for sake of security. #
335+
#####################################################
336+
USER 1000
337337

338338
###########################
339339
# Get the build arguments #

linters/action_actionlint/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
151151
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
152152
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
153153

154-
###############################################################
155-
# Make a directory to bind mount to that isn't owned by root. #
156-
###############################################################
157-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
154+
#####################################################
155+
# Make the container rootless for sake of security. #
156+
#####################################################
157+
USER 1000
158158

159159
###########################
160160
# Get the build arguments #

linters/ansible_ansible_lint/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
143143
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
144144
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
145145

146-
###############################################################
147-
# Make a directory to bind mount to that isn't owned by root. #
148-
###############################################################
149-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
146+
#####################################################
147+
# Make the container rootless for sake of security. #
148+
#####################################################
149+
USER 1000
150150

151151
###########################
152152
# Get the build arguments #

linters/arm_arm_ttk/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
167167
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
168168
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
169169

170-
###############################################################
171-
# Make a directory to bind mount to that isn't owned by root. #
172-
###############################################################
173-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
170+
#####################################################
171+
# Make the container rootless for sake of security. #
172+
#####################################################
173+
USER 1000
174174

175175
###########################
176176
# Get the build arguments #

linters/bash_exec/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
144144
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
145145
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
146146

147-
###############################################################
148-
# Make a directory to bind mount to that isn't owned by root. #
149-
###############################################################
150-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
147+
#####################################################
148+
# Make the container rootless for sake of security. #
149+
#####################################################
150+
USER 1000
151151

152152
###########################
153153
# Get the build arguments #

linters/bash_shellcheck/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
146146
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
147147
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
148148

149-
###############################################################
150-
# Make a directory to bind mount to that isn't owned by root. #
151-
###############################################################
152-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
149+
#####################################################
150+
# Make the container rootless for sake of security. #
151+
#####################################################
152+
USER 1000
153153

154154
###########################
155155
# Get the build arguments #

linters/bash_shfmt/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
142142
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
143143
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
144144

145-
###############################################################
146-
# Make a directory to bind mount to that isn't owned by root. #
147-
###############################################################
148-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
145+
#####################################################
146+
# Make the container rootless for sake of security. #
147+
#####################################################
148+
USER 1000
149149

150150
###########################
151151
# Get the build arguments #

linters/bicep_bicep_linter/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
147147
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
148148
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
149149

150-
###############################################################
151-
# Make a directory to bind mount to that isn't owned by root. #
152-
###############################################################
153-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
150+
#####################################################
151+
# Make the container rootless for sake of security. #
152+
#####################################################
153+
USER 1000
154154

155155
###########################
156156
# Get the build arguments #

linters/c_cpplint/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
143143
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
144144
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
145145

146-
###############################################################
147-
# Make a directory to bind mount to that isn't owned by root. #
148-
###############################################################
149-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
146+
#####################################################
147+
# Make the container rootless for sake of security. #
148+
#####################################################
149+
USER 1000
150150

151151
###########################
152152
# Get the build arguments #

linters/clojure_clj_kondo/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
145145
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
146146
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
147147

148-
###############################################################
149-
# Make a directory to bind mount to that isn't owned by root. #
150-
###############################################################
151-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
148+
#####################################################
149+
# Make the container rootless for sake of security. #
150+
#####################################################
151+
USER 1000
152152

153153
###########################
154154
# Get the build arguments #

linters/cloudformation_cfn_lint/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
143143
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
144144
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
145145

146-
###############################################################
147-
# Make a directory to bind mount to that isn't owned by root. #
148-
###############################################################
149-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
146+
#####################################################
147+
# Make the container rootless for sake of security. #
148+
#####################################################
149+
USER 1000
150150

151151
###########################
152152
# Get the build arguments #

linters/coffee_coffeelint/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ RUN PYTHONDONTWRITEBYTECODE=1 python /megalinter/setup.py install \
160160
COPY --chown=1000:1000 megalinter/descriptors /megalinter-descriptors
161161
COPY --chown=1000:1000 TEMPLATES /action/lib/.automation
162162

163-
###############################################################
164-
# Make a directory to bind mount to that isn't owned by root. #
165-
###############################################################
166-
RUN mkdir /tmp/lint && chown 1000:1000 /tmp/lint
163+
#####################################################
164+
# Make the container rootless for sake of security. #
165+
#####################################################
166+
USER 1000
167167

168168
###########################
169169
# Get the build arguments #

0 commit comments

Comments
 (0)