Skip to content

Commit e9abae1

Browse files
committed
Rearrange Dockerfile commands for better cache
1 parent eaebf67 commit e9abae1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

2.7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ FROM tatsushid/tinycore:6.2-x86_64
66
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
77
ENV LANG C.UTF-8
88

9-
ENV PYTHON_VERSION 2.7.9
10-
119
RUN tce-load -wic gnupg curl \
1210
&& rm -rf /tmp/tce/optional/*
1311

1412
# gpg: key 18ADD4FF: public key "Benjamin Peterson <benjamin@python.org>" imported
1513
RUN gpg2 --keyserver pool.sks-keyservers.net --recv-keys C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
1614

15+
ENV PYTHON_VERSION 2.7.9
16+
1717
RUN tce-load -wic \
1818
bzip2-dev \
1919
flex \

3.4/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ FROM tatsushid/tinycore:6.2-x86_64
66
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
77
ENV LANG C.UTF-8
88

9-
ENV PYTHON_VERSION 3.4.3
10-
119
RUN tce-load -wic gnupg curl \
1210
&& rm -rf /tmp/tce/optional/*
1311

1412
# gpg: key F73C700D: public key "Larry Hastings <larry@hastings.org>" imported
1513
RUN gpg2 --keyserver pool.sks-keyservers.net --recv-keys 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
1614

15+
ENV PYTHON_VERSION 3.4.3
16+
1717
RUN tce-load -wic \
1818
bzip2-dev \
1919
flex \

0 commit comments

Comments
 (0)