Skip to content

Commit 7ceb628

Browse files
committed
Use apt-get instead of apt
1 parent 5b6f514 commit 7ceb628

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile.ci

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,12 @@ RUN mkdir -p /opt/protoc && \
134134
#
135135
# Ecosystem FVP License permits redistribution (refer to the relevant license available in the container).
136136
RUN set -o pipefail && \
137-
apt update && \
138-
apt install software-properties-common && \
139137
add-apt-repository -y ppa:deadsnakes/ppa && \
140-
apt install -y python3.9-dev && \
138+
apt-get update && \
139+
apt-get install --no-install-recommends -y \
140+
software-properties-common \
141+
python3.9-dev && \
142+
rm -rf /var/lib/apt/lists/* && \
141143
mkdir -p /opt/fvps && \
142144
cd /opt/fvps && \
143145
if [ "${HOSTTYPE}" = "x86_64" ]; then SUFFIX=""; else SUFFIX="_armv8l"; fi && \

0 commit comments

Comments
 (0)