Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Samotop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
BrightOpen
Samotop
Commits
5b3fbf78
Commit
5b3fbf78
authored
4 years ago
by
Robert Cutajar
Browse files
Options
Downloads
Patches
Plain Diff
Not switching to USER 1001 in docker
parent
291be33d
No related branches found
Branches containing commit
No related tags found
Loading
Pipeline
#268259104
failed
4 years ago
Stage: .pre
Stage: build
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+3
-4
3 additions, 4 deletions
Dockerfile
samotop-server/docker/Dockerfile
+0
-8
0 additions, 8 deletions
samotop-server/docker/Dockerfile
with
3 additions
and
12 deletions
Dockerfile
+
3
−
4
View file @
5b3fbf78
...
...
@@ -149,10 +149,9 @@ RUN cargo check --color always --all-features \
FROM
scratch
as
server
COPY
--from=stable /app/target/*/release/samotop-server /bin/samotop
COPY
--from=stable /var/local/musl/bin/openssl /bin/openssl
COPY
/samotop-server/ssl /var/ssl
ENV
PATH=/bin
#COPY -Samotop.crt Samotop.crt
#COPY -Samotop.key Samotop.key
#COPY -Samotop.pfx Samotop.pfx
VOLUME
["/var/ssl"]
ENTRYPOINT
["/bin/samotop"]
CMD
["--help"]
USER
1001
#
USER 1001
This diff is collapsed.
Click to expand it.
samotop-server/docker/Dockerfile
deleted
100644 → 0
+
0
−
8
View file @
291be33d
FROM
debian:buster-slim
COPY
samotop /usr/local/bin/samotop
#COPY -Samotop.crt Samotop.crt
#COPY -Samotop.key Samotop.key
#COPY -Samotop.pfx Samotop.pfx
ENTRYPOINT
["samotop"]
CMD
["--help"]
USER
1001
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment