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 #

0 commit comments

Comments
 (0)