Skip to content
Snippets Groups Projects
Commit 8012d5dc authored by Razvan Deaconescu's avatar Razvan Deaconescu
Browse files

Dockerfile: Use same command to update and install


Use `apt update` in the same `RUN` command with `app install`. This
prevents package synchronzation issues during installation.

Signed-off-by: default avatarRazvan Deaconescu <razvan.deaconescu@upb.ro>
parent 296dd72d
No related branches found
No related tags found
No related merge requests found
Pipeline #25237 passed
FROM gitlab.cs.pub.ro:5050/operating-systems/assignments-docker-base
RUN apt install -yqq nasm
RUN apt install -yqq strace
RUN apt install -yqq ltrace
RUN apt install -yqq binutils
RUN apt update && \
apt install -yqq nasm strace ltrace binutils
COPY ./checker ${CHECKER_DATA_DIRECTORY}
RUN mkdir ${CHECKER_DATA_DIRECTORY}/../tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment