File tree 1 file changed +22
-19
lines changed
1 file changed +22
-19
lines changed Original file line number Diff line number Diff line change @@ -99,25 +99,28 @@ ENV AIRFLOW_USER_HOME_DIR=/stackable
99
99
ENV PATH=$PATH:/bin:$HOME/app/bin
100
100
ENV AIRFLOW_HOME=$HOME/airflow
101
101
102
- # Update image and install python
103
- RUN <<EOF
104
- microdnf update
105
- microdnf install \
106
- ca-certificates \
107
- cyrus-sasl \
108
- git \
109
- libpq \
110
- openldap \
111
- openldap-clients \
112
- openssh-clients \
113
- openssl-libs \
114
- openssl-pkcs11 \
115
- python${PYTHON} \
116
- socat \
117
- unixODBC
118
- microdnf clean all
119
- rm -rf /var/cache/yum
120
-
102
+ # Update image and install needed packages
103
+ RUN microdnf update && \
104
+ microdnf install \
105
+ ca-certificates \
106
+ cyrus-sasl \
107
+ # Needed for the gitsync functionality
108
+ git \
109
+ libpq \
110
+ # Needed for authentication of clients against LDAP servers
111
+ openldap \
112
+ openldap-clients \
113
+ # We need the openssh libs for the gitsync functionality (the clone target could be e.g. [email protected] :org/repo.git)
114
+ openssh-clients \
115
+ openssl-libs \
116
+ openssl-pkcs11 \
117
+ # Airflow needs Python
118
+ python${PYTHON} \
119
+ socat \
120
+ unixODBC && \
121
+ microdnf clean all && \
122
+ rm -rf /var/cache/yum && \
123
+ bash <<EOF
121
124
# Get the correct `tini` binary for our architecture.
122
125
# It is used as an init alternative in the entrypoint
123
126
curl -o /usr/bin/tini "https://repo.stackable.tech/repository/packages/tini/tini-${TINI}-${TARGETARCH}"
You can’t perform that action at this time.
0 commit comments