Skip to content

Commit 08db1d0

Browse files
fix (reproducibility): issues in dockerfile
1 parent 1e003e4 commit 08db1d0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN sudo mkdir /app
8484
RUN sudo chown -R $USER /app
8585

8686
# Get source code (clone from GitHub or copy local files)
87-
COPY . /app/local-source/
87+
COPY --chown=$USER:$USER . /app/local-source/
8888
RUN if [ "$SOURCE" = "local" ]; then \
8989
cp -r /app/local-source/. /app/ && rm -rf /app/local-source; \
9090
else \

reproducibility/verify_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ buildFormat="apk"
284284
cd "$REPO_ROOT"
285285
$CONTAINER_CMD build \
286286
--network=host \
287+
--ulimit nofile=65536:65536 \
287288
--build-arg VERSION="v${appVersion}" \
288289
--build-arg MODE=release \
289290
--build-arg FORMAT="$buildFormat" \

0 commit comments

Comments
 (0)