Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM condaforge/miniforge3:latest
# pinned: a floating tag silently moved this image to a base without `adduser`, breaking the build
FROM condaforge/miniforge3:26.3.2-3
LABEL org.opencontainers.image.authors="us@couchbits.com"
LABEL org.opencontainers.image.vendor="couchbits GmbH"

Expand All @@ -9,7 +10,7 @@ RUN mkdir $PROJECT_DIR
# Security Aspects
ENV UID=moveapps
ENV GID=moveapps
RUN addgroup --system $GID && adduser --system $UID --ingroup $GID
RUN groupadd --system $GID && useradd --system --gid $GID --create-home $UID
RUN chown $UID:$GID $PROJECT_DIR

USER $UID:$GID
Expand Down
3 changes: 2 additions & 1 deletion test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM condaforge/miniforge3:latest
# pinned for the same reason as the runtime image: keep the test base from drifting
FROM condaforge/miniforge3:26.3.2-3
LABEL org.opencontainers.image.authors="us@couchbits.com"
LABEL org.opencontainers.image.vendor="couchbits GmbH"

Expand Down
Loading