Skip to content

Commit

Permalink
Merge pull request #25 from github/primetheus/update-dockerfile
Browse files Browse the repository at this point in the history
Update Dockerfile to Python 3.x
  • Loading branch information
Jared Murrell authored Mar 31, 2020
2 parents 48a2ae6 + b436bea commit 994b51c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
FROM python:2
FROM python:3-alpine

LABEL version="0.9"
LABEL description="LDAP Team Sync for GitHub"

MAINTAINER GitHub Services <[email protected]>

COPY . /opt/saml-ad-team-sync
WORKDIR /opt/saml-ad-team-sync

RUN apt-get update && \
apt-get -y install lib{ldap,sasl}2-dev && \
apt-get clean && \
rm -fr /var/lib/apt/lists/*
COPY . /opt/teamsync
WORKDIR /opt/teamsync

RUN pip install --upgrade -r requirements.txt

Expand Down

0 comments on commit 994b51c

Please sign in to comment.