Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
fc3343bf
Commit
fc3343bf
authored
Feb 03, 2025
by
mamunozgil
Browse files
Add home to appuser
parent
cf30aa1a
Pipeline
#10987
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
fc3343bf
...
@@ -55,6 +55,8 @@ RUN chmod 600 /home/$USER/.ssh/id_rsa && \
...
@@ -55,6 +55,8 @@ RUN chmod 600 /home/$USER/.ssh/id_rsa && \
chmod 644 /home/$USER/.ssh/known_hosts && \
chmod 644 /home/$USER/.ssh/known_hosts && \
chown -R $USER:$GID /home/$USER/.ssh
chown -R $USER:$GID /home/$USER/.ssh
RUN
usermod
--home
/home/appuser appuser
# Copy application JAR
# Copy application JAR
COPY
--chown=1000:$GID target/dta-backend-$BUILD_NUMBER.jar app.jar
COPY
--chown=1000:$GID target/dta-backend-$BUILD_NUMBER.jar app.jar
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment