UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
S
Sysdig
Sysdig Secure
Admission Controller 3.2.0
Commits
0fc5d756
You need to sign in or sign up before continuing.
Commit
0fc5d756
authored
Jun 24, 2021
by
Aitor Acedo
Browse files
Include microdnf update command
parent
07477025
Pipeline
#332796
passed with stages
in 4 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Dockerfile
Dockerfile
+3
-2
No files found.
Dockerfile
View file @
0fc5d756
...
...
@@ -11,7 +11,8 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV
REQIRED_PACKAGES="shadow-utils libsemanage"
RUN
microdnf
--setopt
=
tsflags
=
nodocs
install
$REQIRED_PACKAGES
\
RUN
microdnf update
-y
--setopt
=
install_weak_deps
=
0
--nodocs
\
&&
microdnf
--setopt
=
tsflags
=
nodocs
install
$REQIRED_PACKAGES
\
&&
useradd sysdig
-u
1000
\
&&
microdnf remove
$REQIRED_PACKAGES
\
&&
microdnf clean all
\
...
...
@@ -24,4 +25,4 @@ COPY ${BINARY} /bin/webhook
EXPOSE
5000
HEALTHCHECK
--start-period=30s CMD curl -f 127.0.0.1:5000 || exit 1
USER
1000
ENTRYPOINT
["/bin/webhook"]
\ No newline at end of file
ENTRYPOINT
["/bin/webhook"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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