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
16e24db4
Commit
16e24db4
authored
Aug 16, 2021
by
Scott Stroud
Browse files
add python deps
parent
83a6e64d
Pipeline
#428249
failed with stages
in 15 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
Dockerfile
Dockerfile
+14
-1
hardening_manifest.yaml
hardening_manifest.yaml
+8
-3
No files found.
Dockerfile
View file @
16e24db4
...
...
@@ -27,16 +27,29 @@ USER root
########################################
## Install Python
RUN
dnf update
-y
&&
dnf
install
-y
python38.x86_64 python38-pip-wheel.noarch openssl
tar
procps iputils
hostname
\
RUN
dnf update
-y
&&
dnf
install
-y
python38.x86_64 python38-pip-wheel.noarch openssl
tar
procps iputils
hostname
make gcc-c++ python3-devel
\
&&
ln
-s
/usr/bin/python3 /usr/bin/python
\
&&
ln
-s
/usr/bin/pip3 /usr/bin/pip
\
&&
alias
python
=
python3
\
&&
alternatives
--set
python /usr/bin/python3
\
&&
dnf clean all
\
&&
rm
-rf
/var/cache/dnf
## 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
\
&&
useradd
--no-log-init
--create-home
--shell
/bin/bash appuser
\
&&
chown
appuser:appuser
-R
/etc/confluent/ /usr/logs
...
...
hardening_manifest.yaml
View file @
16e24db4
...
...
@@ -238,11 +238,16 @@ resources:
validation
:
type
:
sha256
value
:
fce7fc47dfc976152e82d53ff92fa0407700c21acd20886a13777a0d20e655dc
-
filename
:
jsonnet
url
:
https://
ironbank-files.s3.amazonaws.com/jsonnet
-
filename
:
jsonnet
-0.17.0.tar.gz
url
:
https://
files.pythonhosted.org/packages/42/40/6f16e5ac994b16fa71c24310f97174ce07d3a97b433275589265c6b94d2b/jsonnet-0.17.0.tar.gz
validation
:
type
:
sha256
value
:
9ce7dfdedd3b742bd9a0afb8aa25afe3f5e040e80754aba01868f4a6ae163a2a
value
:
23ffcd4d03a10af7b20b53feee16627debe28345a4d7d5ed07881b7444553bfb
-
filename
:
confluent_docker_utils-0.0.44-py3-none-any.whl
url
:
https://ironbank-files.s3.amazonaws.com/confluent_docker_utils-0.0.44-py3-none-any.whl
validation
:
type
:
sha256
value
:
7e2622a934f04a2e5b23a355f920473ccf0144e946b433bc619a9802c1e3785c
# List of project maintainers
maintainers
:
...
...
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