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
1a8b7955
You need to sign in or sign up before continuing.
Commit
1a8b7955
authored
Jun 21, 2021
by
ryryryan
Browse files
Include Dockerfile
parent
14620d7b
Pipeline
#327905
failed with stages
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
Dockerfile
Dockerfile
+27
-0
No files found.
Dockerfile
0 → 100644
View file @
1a8b7955
# These three ARGs must point to an Iron Bank image - the BASE_REGISTRY should always be what is written below; please use \
# '--build-arg' when building locally to replace these values
# If your container is not based on either the ubi7/ubi8 Iron Bank images, then it should be based on a different Iron Bank image
# Note that you will not be able to pull containers from nexus-docker-secure.levelup-dev.io into your local dev machine
ARG
BASE_REGISTRY=registry1.dsop.io
ARG
BASE_IMAGE=ironbank/redhat/ubi/ubi8-minimal
ARG
BASE_TAG=8.4
# FROM statement must reference the base image using the three ARGs established
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV
REQIRED_PACKAGES="shadow-utils libsemanage"
RUN
microdnf
--setopt
=
tsflags
=
nodocs
install
$REQIRED_PACKAGES
\
&&
useradd sysdig
-u
1000
\
&&
microdnf remove
$REQIRED_PACKAGES
\
&&
microdnf clean all
\
&&
rm
-rf
/var/cache/yum
ARG
BINARY="webhook-v3.2.0"
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
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