-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from github/primetheus/update-dockerfile
Update Dockerfile to Python 3.x
- Loading branch information
Showing
1 changed file
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|