Skip to content

Commit

Permalink
Fix linting in Docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyannn committed Jan 1, 2024
1 parent 50631b0 commit f7dad4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/linters/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
failure-threshold: error

ignored:
- DL3029 # Do not use --platform= with FROM.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM --platform=linux/arm64 registry.cluster.megaver.se/hub.docker.com/python:3.

# For better caching
COPY build/publish-secret-docs/requirements.txt .
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

WORKDIR /workdir

# Include two repositories we need
COPY README.md /original/
Expand Down

0 comments on commit f7dad4f

Please sign in to comment.