forked from 3rd-party-integrations/github-team-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (24 loc) · 658 Bytes
/
Dockerfile
File metadata and controls
33 lines (24 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM python:3-alpine
LABEL version="2.1"
LABEL description="LDAP Team Sync for GitHub"
LABEL maintainer="GitHub Services <services@github.com>"
ARG TZ='UTC'
ENV DEFAULT_TZ ${TZ}
COPY . /opt/github-team-sync
WORKDIR /opt/github-team-sync
RUN apk add --no-cache \
libxml2-dev \
libxslt-dev \
python3-dev \
make \
gcc \
libffi-dev \
build-base \
openssl-dev \
cargo \
tzdata
# Fix the warning where no timezone is specified
RUN cp /usr/share/zoneinfo/${DEFAULT_TZ} /etc/localtime
RUN pip install --no-cache-dir --upgrade pipenv
RUN pipenv install
CMD pipenv run flask run