Skip to content

Commit 29dcaa6

Browse files
committed
fix compilation because of comments
1 parent a87ab99 commit 29dcaa6

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

airflow/Dockerfile

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -99,29 +99,29 @@ ENV AIRFLOW_USER_HOME_DIR=/stackable
9999
ENV PATH=$PATH:/bin:$HOME/app/bin
100100
ENV AIRFLOW_HOME=$HOME/airflow
101101

102-
# Update image and install python
103-
RUN <<EOF
104-
microdnf update
105-
microdnf install \
106-
ca-certificates \
107-
cyrus-sasl \
108-
# Needed for the gitsync functionality
109-
git \
110-
libpq \
111-
# Needed for authentication of clients against LDAP servers
112-
openldap \
113-
openldap-clients \
114-
# We need the openssh libs for the gitsync functionality (the clone target could be e.g. [email protected]:org/repo.git)
115-
openssh-clients \
116-
openssl-libs \
117-
openssl-pkcs11 \
118-
# Airflow needs Python
119-
python${PYTHON} \
120-
socat \
121-
unixODBC
122-
microdnf clean all
123-
rm -rf /var/cache/yum
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
124123

124+
RUN <<EOF
125125
# Get the correct `tini` binary for our architecture.
126126
# It is used as an init alternative in the entrypoint
127127
curl -o /usr/bin/tini "https://repo.stackable.tech/repository/packages/tini/tini-${TINI}-${TARGETARCH}"

0 commit comments

Comments
 (0)