-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change style of Airflow to be consistent with other Dockerfiles (#960)
Change style to be consistent with other Dockerfiles
- Loading branch information
Showing
1 changed file
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,27 +100,29 @@ ENV PATH=$PATH:/bin:$HOME/app/bin | |
ENV AIRFLOW_HOME=$HOME/airflow | ||
|
||
# Update image and install needed packages | ||
RUN microdnf update && \ | ||
microdnf install \ | ||
ca-certificates \ | ||
cyrus-sasl \ | ||
# Needed for the gitsync functionality | ||
git \ | ||
libpq \ | ||
# Needed for authentication of clients against LDAP servers | ||
openldap \ | ||
openldap-clients \ | ||
# We need the openssh libs for the gitsync functionality (the clone target could be e.g. [email protected]:org/repo.git) | ||
openssh-clients \ | ||
openssl-libs \ | ||
openssl-pkcs11 \ | ||
# Airflow needs Python | ||
python${PYTHON} \ | ||
socat \ | ||
unixODBC && \ | ||
microdnf clean all && \ | ||
rm -rf /var/cache/yum && \ | ||
bash <<EOF | ||
RUN <<EOF | ||
microdnf update | ||
|
||
# git: Needed for the gitsync functionality | ||
# openldap: Needed for authentication of clients against LDAP servers | ||
# openssh-clients: We need the openssh libs for the gitsync functionality (the clone target could be e.g. [email protected]:org/repo.git) | ||
# python: Airflow needs Python | ||
microdnf install \ | ||
ca-certificates \ | ||
cyrus-sasl \ | ||
git \ | ||
libpq \ | ||
openldap \ | ||
openldap-clients \ | ||
openssh-clients \ | ||
openssl-libs \ | ||
openssl-pkcs11 \ | ||
python${PYTHON} \ | ||
socat \ | ||
unixODBC | ||
microdnf clean all | ||
rm -rf /var/cache/yum | ||
|
||
# Get the correct `tini` binary for our architecture. | ||
# It is used as an init alternative in the entrypoint | ||
curl -o /usr/bin/tini "https://repo.stackable.tech/repository/packages/tini/tini-${TINI}-${TARGETARCH}" | ||
|