Skip to content

Commit 83f4ec5

Browse files
authored
MENDELU/install directory is created with correct ownership (#1282)
1 parent 39654ac commit 83f4ec5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile.cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ FROM ${DOCKER_REGISTRY}/dspace/dspace-dependencies:${DSPACE_VERSION} AS build
1717
ARG TARGET_DIR=dspace-installer
1818
WORKDIR /app
1919
# The dspace-installer directory will be written to /install
20+
USER root
2021
RUN mkdir /install \
2122
&& chown -Rv dspace: /install \
2223
&& chown -Rv dspace: /app

Dockerfile.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ FROM ${DOCKER_REGISTRY}/dspace/dspace-dependencies:${DSPACE_VERSION} AS build
1919
ARG TARGET_DIR=dspace-installer
2020
WORKDIR /app
2121
# The dspace-installer directory will be written to /install
22+
USER root
2223
RUN mkdir /install \
2324
&& chown -Rv dspace: /install \
2425
&& chown -Rv dspace: /app

0 commit comments

Comments
 (0)