Skip to content
Open
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
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ LABEL maintainer="[email protected]" \
org.opencontainers.image.description="Single-node CockroachDB for CI/CD and testing" \
org.opencontainers.image.licenses="Apache-2.0"

# Ensure the directory exists
RUN mkdir -p /cockroach && chown -R 1000:1000 /cockroach

# Copy files with appropriate ownership for the cockroach user (UID 1000)
COPY --chown=1000:1000 --chmod=755 init.sh /cockroach/
COPY --chown=1000:1000 logs.yaml optimizations.sql /cockroach/
Expand Down