From ccc9ed71f3dfa2225b633978c1703075af0edd9c Mon Sep 17 00:00:00 2001
From: Markus Ostermayer <markus.ostermayer@student.tugraz.at>
Date: Sat, 29 Oct 2022 17:25:34 +0200
Subject: [PATCH] Merged into one RUN-Block

---
 Dockerfile | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 1b795f6..7caeded 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,18 +2,16 @@ FROM alpine:3.16
 
 ARG CI_TOKEN
 
-RUN apk update
 # QEMU-Dependencies
-RUN apk update && apk add qemu qemu-img qemu-system-x86_64 \
+RUN apk update;
+    apk add qemu qemu-img qemu-system-x86_64 \
     # Install Dependencies
     # Install build-essentials equivalent
     # https://packages.ubuntu.com/jammy/build-essential
     gcc g++ make libc-dev \
     # Install other sweb Dependencies
-    python3 py3-pip cmake
-
-RUN pip install swet==0.0.5 --extra-index-url https://gitlab-ci-token:$CI_TOKEN@gitlab.tugraz.at/api/v4/projects/21215/packages/pypi/simple
-
-RUN apk del py3-pip
+    python3 py3-pip cmake; \
+    pip install swet==0.0.5 --extra-index-url https://gitlab-ci-token:$CI_TOKEN@gitlab.tugraz.at/api/v4/projects/21215/packages/pypi/simple; \
+    apk del py3-pip
 
 WORKDIR /sweb
-- 
GitLab