Skip to content

Commit 72b3374

Browse files
author
Thomas Preud'homme
committed
[LNT] Switch docker image to Python 3
Summary: With Python 2 end of support being so near, this commit changes the docker image to be in Python 3 rather than Python 2. Reviewers: cmatthews, hubert.reinterpretcast, kristof.beyls, leandron, PrzemekWirkus Reviewed By: PrzemekWirkus Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D69053
1 parent e3f5ef6 commit 72b3374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM python:2.7-alpine
1+
FROM python:alpine
22

33
RUN apk update \
44
&& apk add --no-cache --virtual .build-deps git g++ postgresql-dev yaml-dev \
55
&& apk add --no-cache libpq \
66
&& git clone https://git.llvm.org/git/lnt /var/src/lnt \
7-
&& python /var/src/lnt/setup.py install --server \
7+
&& python3 /var/src/lnt/setup.py install --server \
88
&& rm -rf /var/src \
99
&& apk --purge del .build-deps \
1010
&& mkdir /var/log/lnt

0 commit comments

Comments
 (0)