Skip to content

Commit 712cc28

Browse files
committed
fix: hadolint error
1 parent 11f6d92 commit 712cc28

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.hadolint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
ignored:
2-
- DL3018
2+
- DL3008

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
2525
PIP_NO_CACHE_DIR=1
2626

2727
# get poetry
28-
RUN apt-get update && \
29-
apt-get install -y --no-install-recommends curl && \
30-
curl -sSL https://install.python-poetry.org | python -
28+
RUN apt-get update \
29+
&& apt-get install -y --no-install-recommends curl \
30+
&& curl -sSL https://install.python-poetry.org | python - \
31+
&& apt-get clean \
32+
&& rm -rf /var/lib/apt/lists/*
3133

3234
RUN python -m venv "$VENV_PATH"
3335

0 commit comments

Comments
 (0)