Skip to content

Instantly share code, notes, and snippets.

@developer-sdk
Created April 15, 2023 13:26
Show Gist options
  • Select an option

  • Save developer-sdk/902b1eebfa77e137c1f83b8e790f53d5 to your computer and use it in GitHub Desktop.

Select an option

Save developer-sdk/902b1eebfa77e137c1f83b8e790f53d5 to your computer and use it in GitHub Desktop.
# amd64 버전의 ubuntu 22.04 버전 도커 이미지 다운로드
docker image pull ubuntu:22.04@sha256:7a57c69fe1e9d5b97c5fe649849e79f2cfc3bf11d10bbd5218b4eb61716aebe6
# 도커 이미지 실행
docker run -i -t ubuntu:22.044@sha256:7a57c69fe1e9d5b97c5fe649849e79f2cfc3bf11d10bbd5218b4eb61716aebe6 /bin/bash
# python3, pip 설치
apt install python3 pip -y
# airflow 설치
pip install "apache-airflow[celery]==2.5.3" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.5.3/constraints-3.10.txt"
# 설치한 홈의 {USER_HOME}/.local 폴더를 압축
tar czf airflow-22.04.tgz .local/
# 배포 하고자 하는 우분투 서버에 압축해제
tar zxf airflow-22.04.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment