Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
2cf13ac7
Commit
2cf13ac7
authored
4 months ago
by
Виталий Шунков
Committed by
Виталий Шунков
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
refactor: delete .sh files from picodata.Dockerfile
parent
eb4d9e1c
Loading
Loading
1 merge request
!1411
refactor: delete .sh files from picodata.Dockerfile
Pipeline
#55311
canceled
4 months ago
Changes
3
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
helm/entrypoint.sh
+0
-3
0 additions, 3 deletions
helm/entrypoint.sh
helm/picodata.Dockerfile
+2
-5
2 additions, 5 deletions
helm/picodata.Dockerfile
helm/run.sh
+0
-3
0 additions, 3 deletions
helm/run.sh
with
2 additions
and
11 deletions
helm/entrypoint.sh
deleted
100644 → 0
+
0
−
3
View file @
eb4d9e1c
#!/bin/sh
exec
"
$@
"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
helm/picodata.Dockerfile
+
2
−
5
View file @
2cf13ac7
...
...
@@ -23,12 +23,9 @@ RUN cargo build --locked --release --features webui
FROM
rockylinux:8
COPY
--from=builder /build/picodata/target/release/picodata /usr/bin/picodata
COPY
helm/entrypoint.sh /entrypoint.sh
COPY
helm/run.sh /run.sh
RUN
chmod
755 /usr/bin/picodata
\
&&
mkdir
-p
/var/lib/picodata
&&
mkdir
-p
/var/run/picodata
\
&&
chmod
755 /entrypoint.sh
\
&&
groupadd
-g
1000 picodata
\
&&
useradd
-u
1000
-g
1000 picodata
-s
/usr/sbin/nologin
\
&&
chown
1000:1000
-R
/var/lib/picodata
...
...
@@ -37,5 +34,5 @@ USER 1000:1000
WORKDIR
/var/lib/picodata
ENTRYPOINT
["/
entrypoint.sh
"]
CMD
["
/
run
.sh
"]
ENTRYPOINT
["/
usr/bin/picodata
"]
CMD
["run"]
This diff is collapsed.
Click to expand it.
helm/run.sh
deleted
100755 → 0
+
0
−
3
View file @
eb4d9e1c
#!/bin/sh
exec
/usr/bin/picodata run
"
$@
"
\ No newline at end of file
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