Containerizing things.
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
5d4920ec3a
commit
42bee83cf5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue