Skip to content

Commit

Permalink
[chore] without custom
Browse files Browse the repository at this point in the history
  • Loading branch information
tuancamtbtx committed Jul 23, 2024
1 parent 3d016fb commit 2942fe0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM --platform=linux/x86_64 apache/airflow:2.8.4-python3.9

USER root
# USER root

RUN apt-get update \
&& apt-get install -y --no-install-recommends git
# RUN apt-get update \
# && apt-get install -y --no-install-recommends git

# COPY requirements.txt constraints.txt scripts/deps /tmp/work/
# RUN /tmp/work/deps /tmp/work && rm -rf /tmp/work
# # COPY requirements.txt constraints.txt scripts/deps /tmp/work/
# # RUN /tmp/work/deps /tmp/work && rm -rf /tmp/work

# our codes
RUN mkdir -p /bigdata/airlake
COPY --chown=airflow:airflow . /bigdata
COPY requirements.txt /
# # our codes
# RUN mkdir -p /bigdata/airlake
# COPY --chown=airflow:airflow . /bigdata
# COPY requirements.txt /

ENV PYTHONPATH=$PYTHONPATH:/bigdata/airlake
# ENV PYTHONPATH=$PYTHONPATH:/bigdata/airlake

USER airflow
COPY --chown=airflow:airflow packages/* /opt/airflow/packages/
RUN pip install --no-cache-dir -r /requirements.txt
# USER airflow
# COPY --chown=airflow:airflow packages/* /opt/airflow/packages/
# RUN pip install --no-cache-dir -r /requirements.txt
2 changes: 1 addition & 1 deletion kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ executor: "KubernetesExecutor"
images:
airflow:
repository: vantuan12345/airlake
tag: v1.0.0
tag: v1.0.1
## WARNING: even if set to "Always" DO NOT reuse tag names,
## containers only pull the latest image when restarting
pullPolicy: Always

0 comments on commit 2942fe0

Please sign in to comment.