Skip to content

Commit 540f153

Browse files
committed
fixup! chore(sdk): use Debian's Docker Hardened Image
1 parent 206389d commit 540f153

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/sdk/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ ARG TELEGRAF_VERSION
127127
ARG TARGETARCH
128128
WORKDIR /tmp
129129
RUN <<EOF
130+
mkdir -p /usr/local/bin
130131
curl -fsSL https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}_linux_${TARGETARCH}.tar.gz \
131132
-o ./telegraf.tar.gz;
132133
case "${TARGETARCH}" in
@@ -151,8 +152,7 @@ ARG DEBIAN_FRONTEND=noninteractive
151152
RUN <<EOF
152153
apt-get install -y --no-install-recommends \
153154
libslirp0 \
154-
lua5.4 \
155-
passwd
155+
lua5.4
156156

157157
# create cartesi user
158158
useradd \
@@ -165,7 +165,6 @@ useradd \
165165
--user-group \
166166
cartesi
167167

168-
apt-get remove -y --purge passwd
169168
rm -rf /var/lib/apt/lists/*
170169
EOF
171170

0 commit comments

Comments
 (0)