Skip to content

Commit b4dc8ca

Browse files
authored
docker: Update packages in stage build
1 parent e0d76a2 commit b4dc8ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

appqos/docker/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ ENV DEBIAN_FRONTEND noninteractive
2222
COPY . /appqos_workspace
2323

2424
# install libpqos dependencies
25-
RUN apt-get install -y --no-install-recommends \
25+
RUN apt-get update -q && \
26+
apt-get install -y --no-install-recommends \
2627
make \
2728
gcc \
2829
libc-dev && \
@@ -51,7 +52,8 @@ ENV PIP_USER=1
5152
COPY . /appqos_workspace
5253

5354
# install dependencies
54-
RUN apt-get install -y --no-install-recommends \
55+
RUN apt-get update -q && \
56+
apt-get install -y --no-install-recommends \
5557
python3-pip \
5658
git && \
5759
apt-get clean

0 commit comments

Comments
 (0)