From 6d11d8ff4da4150dc58cb94899e2f8127b54cc09 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Thu, 2 Jan 2025 10:24:42 +0100
Subject: [PATCH] Re-enable buildkit

---
 .gitlab-ci.yml                         | 2 --
 dbrepo-storage-service/init/Dockerfile | 5 +----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da90260823..3126059089 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -153,8 +153,6 @@ build-search-service:
 build-images:
   image: docker.io/docker:${DOCKER_VERSION}-dind
   stage: build
-  variables:
-    DOCKER_BUILDKIT: 0
   before_script:
     - "apk add --no-cache make"
     - echo "$CI_REGISTRY_PASSWORD" | docker login --username "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY_URL
diff --git a/dbrepo-storage-service/init/Dockerfile b/dbrepo-storage-service/init/Dockerfile
index fc49f7225f..4f4f0c7974 100644
--- a/dbrepo-storage-service/init/Dockerfile
+++ b/dbrepo-storage-service/init/Dockerfile
@@ -8,9 +8,6 @@ USER 1001
 
 WORKDIR /app
 
-COPY --chown=1001 ./init.sh /app/init.sh
-
-RUN chmod 0744 /app/init.sh \
-    && mkdir -p /app/config
+COPY --chown=1001 --chmod=0744 ./init.sh /app/init.sh
 
 ENTRYPOINT [ "bash", "-c", "/app/init.sh" ]
-- 
GitLab