Skip to content

Commit

Permalink
Merge pull request #2 from tulibraries/update-worker-dockerfile
Browse files Browse the repository at this point in the history
Update worker Dockerfile
  • Loading branch information
sensei100 authored Mar 16, 2020
2 parents 12158f9 + 6db5de1 commit 0c2ddec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ FROM puckel/docker-airflow:1.10.4

# Install git
USER root
RUN mkdir -p /usr/share/man/man1
RUN apt-get update -y && \
apt-get install -y git libssl-dev libreadline-dev jq

apt-get install -y git libssl-dev libreadline-dev jq default-jre
RUN pip install awscli

# Install rbenv and ruby for airflow user.
USER airflow
Expand All @@ -17,8 +18,8 @@ ENV PATH ${AIRFLOW_USER_HOME}/.rbenv/shims:${AIRFLOW_USER_HOME}/.rbenv/bin:$PATH
ENV RBENV_SHELL=bash
ENV CONFIGURE_OPTS --disable-install-doc

RUN rbenv install 2.6.4
ENV RBENV_VERSION 2.6.4
RUN rbenv install 2.6.5
ENV RBENV_VERSION 2.6.5
RUN gem install bundler

# start airflow worker
Expand Down

0 comments on commit 0c2ddec

Please sign in to comment.