Containerizing things.
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Colin 2024-06-12 16:19:11 -04:00
parent 5d4920ec3a
commit 42bee83cf5
1 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,13 @@ COPY --from=builder /usr/local/bin/oculus_filter /usr/local/bin/oculus_filter
# Change ownership of the binaries to the unprivileged user
RUN chown oculus:oculus /usr/local/bin/go-glitch /usr/local/bin/oculus_main /usr/local/bin/oculus_filter
# Create the diffs directory and set the appropriate permissions
RUN mkdir /diffs && chown oculus:oculus /diffs
# Set the working directory and change its ownership
WORKDIR /home/oculus
RUN chown oculus:oculus /home/oculus
# Switch to the unprivileged user
USER oculus