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
A
aiml
airflow
airflow-scheduler
Commits
ca1720be
Commit
ca1720be
authored
May 07, 2021
by
Austin Denton
Browse files
Remove redundant code and update libraries
parent
5abc8f19
Pipeline
#250711
passed with stages
in 96 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
29 deletions
+10
-29
Dockerfile
Dockerfile
+1
-20
hardening_manifest.yaml
hardening_manifest.yaml
+9
-9
No files found.
Dockerfile
View file @
ca1720be
...
@@ -6,12 +6,6 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
...
@@ -6,12 +6,6 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ARG
BITNAMI_HOME=/opt/bitnami
ARG
BITNAMI_HOME=/opt/bitnami
ARG
BITNAMI_DIR=/bitnami
ARG
BITNAMI_DIR=/bitnami
ENV
BITNAMI_PKG_EXTRA_DIRS="/opt/bitnami/airflow/dags" \
HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
USER
root
USER
root
RUN
dnf update
-y
--nodocs
&&
\
RUN
dnf update
-y
--nodocs
&&
\
...
@@ -31,19 +25,6 @@ RUN source /opt/bitnami/airflow/venv/bin/activate && \
...
@@ -31,19 +25,6 @@ RUN source /opt/bitnami/airflow/venv/bin/activate && \
dnf clean all
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf
rm
-rf
/var/cache/dnf
ENV
AIRFLOW_HOME="/opt/bitnami/airflow" \
BITNAMI_APP_NAME="airflow-scheduler" \
BITNAMI_IMAGE_VERSION="2.0.1-debian-10-r54" \
LD_LIBRARY_PATH="/opt/bitnami/python/lib/:/opt/bitnami/airflow/venv/lib/python3.8/site-packages/numpy.libs/:$LD_LIBRARY_PATH" \
LIBNSS_WRAPPER_PATH="/opt/bitnami/common/lib/libnss_wrapper.so" \
LNAME="airflow" \
NSS_WRAPPER_GROUP="/opt/bitnami/airflow/nss_group" \
NSS_WRAPPER_PASSWD="/opt/bitnami/airflow/nss_passwd" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/python/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/airflow/venv/bin:$PATH"
USER
1001
USER
1001
HEALTHCHECK
--start-period=10s CMD bash -c 'airflow version' || exit 1
HEALTHCHECK
--start-period=10s CMD bash -c 'airflow version' || exit 1
\ No newline at end of file
ENTRYPOINT
[ "/opt/bitnami/scripts/airflow-scheduler/entrypoint.sh" ]
CMD
[ "/opt/bitnami/scripts/airflow-scheduler/run.sh" ]
hardening_manifest.yaml
View file @
ca1720be
...
@@ -56,21 +56,21 @@ resources:
...
@@ -56,21 +56,21 @@ resources:
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
1d8a5ae1ff6c5cf9b93e8811e581232ad8920aeec647c37316ceac982b08cb2d
value
:
1d8a5ae1ff6c5cf9b93e8811e581232ad8920aeec647c37316ceac982b08cb2d
-
filename
:
kafka
-1.3.5
-py2.py3-none-any.whl
-
filename
:
kafka
_python-2.0.2
-py2.py3-none-any.whl
url
:
https://files.pythonhosted.org/packages/
21/71/73286e748ac5045b6a669c2fe44b03ac4c5d3d2af9291c4c6fc76438a9a9/kafka-1.3.5
-py2.py3-none-any.whl
url
:
https://files.pythonhosted.org/packages/
75/68/dcb0db055309f680ab2931a3eeb22d865604b638acf8c914bedf4c1a0c8c/kafka_python-2.0.2
-py2.py3-none-any.whl
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
35a49e9a432f6792aad48b2ab09d03867357aaa06eacba2678b7fd0808156e5c
value
:
2d92418c7cb1c298fa6c7f0fb3519b520d0d7526ac6cb7ae2a4fc65a51a94b6e
-
filename
:
sklearn-0.0.tar.gz
-
filename
:
sklearn-0.0.tar.gz
url
:
https://files.pythonhosted.org/packages/1e/7a/dbb3be0ce9bd5c8b7e3d87328e79063f8b263b2b1bfa4774cb1147bfcd3f/sklearn-0.0.tar.gz
url
:
https://files.pythonhosted.org/packages/1e/7a/dbb3be0ce9bd5c8b7e3d87328e79063f8b263b2b1bfa4774cb1147bfcd3f/sklearn-0.0.tar.gz
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31
value
:
e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31
-
filename
:
scikit_learn-0.24.
1
-cp38-cp38-manylinux2010_x86_64.whl
-
filename
:
scikit_learn-0.24.
2
-cp38-cp38-manylinux2010_x86_64.whl
url
:
https://files.pythonhosted.org/packages/
6e/c0/39aee6ef61f586f3c1aa76d4f35485556e2eb86136a5f1f1ee8b62fae3ee
/scikit_learn-0.24.
1
-cp38-cp38-manylinux2010_x86_64.whl
url
:
https://files.pythonhosted.org/packages/
36/dd/06b6f0ad7b86c3edc3a02d255f3fcc98e444a847cea10b3a0182251ca7b6
/scikit_learn-0.24.
2
-cp38-cp38-manylinux2010_x86_64.whl
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
259ec35201e82e2db1ae2496f229e63f46d7f1695ae68eef9350b00dc74ba52f
value
:
62214d2954377fcf3f31ec867dd4e436df80121e7a32947a0b3244f58f45e455
-
filename
:
scipy-1.6.2-cp38-cp38-manylinux1_x86_64.whl
-
filename
:
scipy-1.6.2-cp38-cp38-manylinux1_x86_64.whl
url
:
https://files.pythonhosted.org/packages/f1/2b/83ad25bf3812c5e051adc39b9127af2a009c1124da88aeea3be501758a39/scipy-1.6.2-cp38-cp38-manylinux1_x86_64.whl
url
:
https://files.pythonhosted.org/packages/f1/2b/83ad25bf3812c5e051adc39b9127af2a009c1124da88aeea3be501758a39/scipy-1.6.2-cp38-cp38-manylinux1_x86_64.whl
validation
:
validation
:
...
@@ -126,11 +126,11 @@ resources:
...
@@ -126,11 +126,11 @@ resources:
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
42d8ef819367516592a825746a18073ced42ca169ab1f5f4044134703e7a049c
value
:
42d8ef819367516592a825746a18073ced42ca169ab1f5f4044134703e7a049c
-
filename
:
httplib2-0.1
7.4
-py3-none-any.whl
-
filename
:
httplib2-0.1
9.0
-py3-none-any.whl
url
:
https://files.pythonhosted.org/packages/
73/21/e0427ad119361acfe6b41bf39324e4d4d377a30725a26b514232f492b346
/httplib2-0.1
7.4
-py3-none-any.whl
url
:
https://files.pythonhosted.org/packages/
15/7e/51e5bd333c0afa1c7bdbf98eb3b0ccf5167e2b1ecc8b4d13e9cc29291f81
/httplib2-0.1
9.0
-py3-none-any.whl
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
74
3cff16beadd128511e786474740264aa805fba106d6fc90e3586829ad0298b
value
:
74
9c32603f9bf16c1277f59531d502e8f1c2ca19901ae653b49c4ed698f0820e
-
filename
:
mock-2.0.0-py2.py3-none-any.whl
-
filename
:
mock-2.0.0-py2.py3-none-any.whl
url
:
https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl
url
:
https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl
validation
:
validation
:
...
...
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