Skip to content

Commit cee098a

Browse files
committed
[#1] Fix hadolint warning
- When possible use pinned version of packages
1 parent e05ee71 commit cee098a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

node-awscli/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM node:18.16.1
33
# zip
44
RUN set -e; \
55
apt-get update && \
6-
apt-get install -y zip && \
6+
apt-get install -y --no-install-recommends \
7+
zip=3.0-13 && \
78
rm -rf /var/lib/apt/lists/* && \
89
# aws
910
curl -L "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \

0 commit comments

Comments
 (0)