Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to run on RPI4 and Airflow 2.0.1 #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update -yqq \
python3-numpy

ENV PYTHONPATH="${PYTHONPATH}:/usr/lib/python3/dist-packages"

ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN pip install -U pip setuptools wheel \
&& pip install pyOpenSSL \
&& pip install apache-airflow[crypto,aws,slack,postgres]
Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,29 @@ docker run \
-d airflow:0.1.0
```

## To view logs

```
docker logs -f airflow
```

## To Stop

```
docker kill airflow
docker rm airflow
```

## To remove an image

See the images and version tags
```
docker images
```


make sure you use the right version tag

```
docker rmi airflow:0.1.0
```
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

airflow initdb
airflow db init
airflow users create -e [email protected] -f admin -l admin -p admin -r Admin -u admin
airflow scheduler &
exec airflow webserver