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
52e6ddd0
Commit
52e6ddd0
authored
Aug 17, 2021
by
Scott Stroud
Browse files
jsonnet fun
parent
e1e25a14
Pipeline
#429899
failed with stages
in 18 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
Dockerfile
Dockerfile
+8
-4
hardening_manifest.yaml
hardening_manifest.yaml
+5
-0
No files found.
Dockerfile
View file @
52e6ddd0
...
@@ -27,13 +27,16 @@ USER root
...
@@ -27,13 +27,16 @@ USER root
########################################
########################################
## Install Python
## 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
--nodocs
&&
dnf
install
-y
--nodocs
python38.x86_64 python38-pip-wheel.noarch openssl
tar
procps iputils
hostname
make gcc-c++ python3-devel libffi-devel
\
&&
pip3
install
--upgrade
pip
\
&&
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
\
&&
alias
pip
=
pip3
\
&&
alternatives
--set
python /usr/bin/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
########################################
########################################
...
@@ -46,7 +49,8 @@ COPY confluent_docker_utils-0.0.44-py3-none-any.whl /tmp/confluent_docker_utils-
...
@@ -46,7 +49,8 @@ COPY confluent_docker_utils-0.0.44-py3-none-any.whl /tmp/confluent_docker_utils-
COPY
*.whl /tmp/python-dependencies/
COPY
*.whl /tmp/python-dependencies/
COPY
*.gz /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
RUN
pip3
install
--prefix
=
/usr/local
--upgrade
--find-links
/tmp/python-dependencies/ /tmp/confluent_docker_utils-0.0.44-py3-none-any.whl jsonnet
\
&&
pip3
install
jsonnet requests
## dub installed
## dub installed
########################################
########################################
...
@@ -63,10 +67,10 @@ WORKDIR /opt/
...
@@ -63,10 +67,10 @@ 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"
/usr/local/bin/jsonnet
ENTRYPOINT
["/opt/startup.sh"]
ENTRYPOINT
["/opt/startup.sh"]
...
...
hardening_manifest.yaml
View file @
52e6ddd0
...
@@ -223,6 +223,11 @@ resources:
...
@@ -223,6 +223,11 @@ resources:
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
7e2622a934f04a2e5b23a355f920473ccf0144e946b433bc619a9802c1e3785c
value
:
7e2622a934f04a2e5b23a355f920473ccf0144e946b433bc619a9802c1e3785c
-
filename
:
jsonnet
url
:
https://ironbank-files.s3.amazonaws.com/jsonnet
validation
:
type
:
sha256
value
:
9ce7dfdedd3b742bd9a0afb8aa25afe3f5e040e80754aba01868f4a6ae163a2a
# List of project maintainers
# List of project maintainers
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