Commit d6bf6fbf authored by Paal Kvamme's avatar Paal Kvamme
Browse files

Missing apt-get update made builds vulnerable to upstream changes.

parent 7898f6dd
Pipeline #55453 passed with stages
in 23 minutes and 7 seconds
......@@ -26,7 +26,7 @@ RUN python3 -m pip install build/deploy/wrapper/*/OpenZgyBindings-*.whl
# Optional: Prepare for running unit tests
RUN tar xvf build/deploy/testscripts.tar; \
python3 -m pip install virtualenv; \
apt-get -y install bzip2 curl
apt-get update; apt-get -y install bzip2 curl
# Optional: Run as a regular user
RUN useradd -u 800 -g users build; \
......
......@@ -26,7 +26,7 @@ RUN python3 -m pip install build/deploy/wrapper/*/OpenZgyBindings-*.whl
# Optional: Prepare for running unit tests
RUN tar xvf build/deploy/testscripts.tar; \
python3 -m pip install virtualenv; \
apt-get -y install bzip2 curl
apt-get update; apt-get -y install bzip2 curl
# Optional: Run as a regular user
RUN useradd -u 800 -g users build; \
......
......@@ -26,7 +26,7 @@ RUN python3 -m pip install build/deploy/wrapper/*/OpenZgyBindings-*.whl
# Optional: Prepare for running unit tests
RUN tar xvf build/deploy/testscripts.tar; \
python3 -m pip install virtualenv; \
apt-get -y install bzip2 curl
apt-get update && apt-get -y install bzip2 curl
# Optional: Run as a regular user
RUN useradd -u 800 -g users build; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment