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
C
Confluent
Confluent Component Operator
cp-init-container-operator-6.1.1
Commits
92b32dae
Commit
92b32dae
authored
Aug 16, 2021
by
Hunter Stevens
Browse files
Merge branch 'development' into 'master'
Development See merge request
!23
parents
1d77ae01
525443bb
Pipeline
#428586
passed with stages
in 19 minutes and 57 seconds
Changes
2
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
135 deletions
+128
-135
Dockerfile
Dockerfile
+14
-1
hardening_manifest.yaml
hardening_manifest.yaml
+114
-134
No files found.
Dockerfile
View file @
92b32dae
...
@@ -31,12 +31,25 @@ RUN dnf update -y && dnf install -y python38.x86_64 python38-pip-wheel.noarch op
...
@@ -31,12 +31,25 @@ RUN dnf update -y && dnf install -y python38.x86_64 python38-pip-wheel.noarch op
&&
ln
-s
/usr/bin/python3 /usr/bin/python
\
&&
ln
-s
/usr/bin/python3 /usr/bin/python
\
&&
ln
-s
/usr/bin/pip3 /usr/bin/pip
\
&&
ln
-s
/usr/bin/pip3 /usr/bin/pip
\
&&
alias
python
=
python3
\
&&
alias
python
=
python3
\
&&
alternatives
--set
python /usr/bin/python3
\
&&
dnf clean all
\
&&
dnf clean all
\
&&
rm
-rf
/var/cache/dnf
&&
rm
-rf
/var/cache/dnf
## Python Installed
## Python Installed
########################################
########################################
########################################
## Add the Confluent Docker Utility Belt which helps with starting the proper applications
## https://github.com/confluentinc/common-docker/tree/master/utility-belt
COPY
confluent_docker_utils-0.0.44-py3-none-any.whl /tmp/confluent_docker_utils-0.0.44-py3-none-any.whl
COPY
*.whl /tmp/python-dependencies/
COPY
*.gz /tmp/python-dependencies/
RUN
pip3
install
--no-index
--prefix
=
/usr/local
--upgrade
--find-links
/tmp/python-dependencies/ /tmp/confluent_docker_utils-0.0.44-py3-none-any.whl
## dub installed
########################################
RUN
mkdir
-p
/etc/confluent/docker /usr/logs
\
RUN
mkdir
-p
/etc/confluent/docker /usr/logs
\
&&
useradd
--no-log-init
--create-home
--shell
/bin/bash appuser
\
&&
useradd
--no-log-init
--create-home
--shell
/bin/bash appuser
\
&&
chown
appuser:appuser
-R
/etc/confluent/ /usr/logs
&&
chown
appuser:appuser
-R
/etc/confluent/ /usr/logs
...
@@ -50,7 +63,7 @@ WORKDIR /opt/
...
@@ -50,7 +63,7 @@ WORKDIR /opt/
ENV
CONFIG_DIR=/mnt/config
ENV
CONFIG_DIR=/mnt/config
ENV
CUB_CLASSPATH='"/usr/share/java/cp-base-new/*"'
ENV
CUB_CLASSPATH='"/usr/share/java/cp-base-new/*"'
COPY
scripts/licenses /licenses
COPY
scripts/licenses /licenses
COPY
jsonnet /usr/local/bin/jsonnet
#
COPY jsonnet /usr/local/bin/jsonnet
COPY
scripts/ /opt
COPY
scripts/ /opt
RUN
chmod
-R
ag+wx
"/opt"
RUN
chmod
-R
ag+wx
"/opt"
...
...
hardening_manifest.yaml
View file @
92b32dae
This diff is collapsed.
Click to expand it.
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