File tree 12 files changed +50
-2
lines changed
12 files changed +50
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def main():
70
70
# Make sure everything is relative
71
71
dockerfile = os .path .relpath (os .path .realpath (dockerfile ), root_dir )
72
72
73
- docker_dir , docker_name = os . path . split ( dockerfile )
73
+ docker_dir = "."
74
74
75
75
print ("Testing {}" .format (dockerfile ))
76
76
sys .stdout .flush ()
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ RUN apt-get -y update && apt-get -y --no-install-recommends install \
23
23
python \
24
24
python-six \
25
25
python2-dev \
26
+ python3-pip \
26
27
python3-six \
27
28
python3-distutils \
28
29
rsync \
@@ -33,6 +34,9 @@ RUN apt-get -y update && apt-get -y --no-install-recommends install \
33
34
uuid-dev \
34
35
ca-certificates
35
36
37
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
38
+ RUN pip3 install -r /dependencies/requirements.txt
39
+
36
40
USER build-user
37
41
38
42
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -25,13 +25,17 @@ RUN apt-get -y update && apt-get -y install \
25
25
python2-dev \
26
26
python3-six \
27
27
python3-distutils \
28
+ python3-pip \
28
29
rsync \
29
30
swig \
30
31
systemtap-sdt-dev \
31
32
tzdata \
32
33
unzip \
33
34
uuid-dev
34
35
36
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
37
+ RUN pip3 install -r /dependencies/requirements.txt
38
+
35
39
USER build-user
36
40
37
41
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ RUN apt-get -y update && apt-get -y install \
22
22
ninja-build \
23
23
pkg-config \
24
24
python3-distutils \
25
+ python3-pip \
25
26
python3-pkg-resources \
26
27
python3-psutil \
27
28
rsync \
@@ -46,6 +47,9 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \
46
47
SWIFT_WEBROOT=$SWIFT_WEBROOT \
47
48
SWIFT_PREFIX=$SWIFT_PREFIX
48
49
50
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
51
+ RUN pip3 install -r /dependencies/requirements.txt --break-system-packages
52
+
49
53
RUN set -e; \
50
54
ARCH_NAME="$(dpkg --print-architecture)" ; \
51
55
url=; \
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ RUN groupadd -g 998 build-user && \
5
5
6
6
ENV DEBIAN_FRONTEND="noninteractive"
7
7
8
+ RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
9
+ RUN sed -i s/security.debian.org/archive.debian.org/g /etc/apt/sources.list
10
+ RUN sed -i s/stretch-updates/stretch/g /etc/apt/sources.list
8
11
RUN apt-get update
9
12
10
13
RUN apt-get --no-install-recommends -y install \
@@ -22,6 +25,9 @@ RUN apt-get --no-install-recommends -y install \
22
25
ninja-build \
23
26
pkg-config \
24
27
python \
28
+ python3-setuptools \
29
+ python3-dev \
30
+ python3-pip \
25
31
python-six \
26
32
rsync \
27
33
swig \
@@ -31,6 +37,9 @@ RUN apt-get --no-install-recommends -y install \
31
37
ca-certificates \
32
38
uuid-dev
33
39
40
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
41
+ RUN pip3 install -r /dependencies/requirements.txt
42
+
34
43
USER build-user
35
44
36
45
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -20,12 +20,16 @@ RUN dnf -y update && dnf install -y \
20
20
python-unversioned-command \
21
21
python27 \
22
22
python3 \
23
+ python3-pip \
23
24
python3-devel \
24
25
python3-distro \
25
26
python3-six \
26
27
rsync \
27
28
swig
28
29
30
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
31
+ RUN pip3 install -r /dependencies/requirements.txt
32
+
29
33
USER build-user
30
34
31
35
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -20,12 +20,16 @@ RUN dnf -y update && dnf install -y \
20
20
python-unversioned-command \
21
21
python27 \
22
22
python3 \
23
+ python3-pip \
23
24
python3-devel \
24
25
python3-distro \
25
26
python3-six \
26
27
rsync \
27
28
swig
28
29
30
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
31
+ RUN pip3 install -r /dependencies/requirements.txt
32
+
29
33
USER build-user
30
34
31
35
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ RUN yum install -y \
11
11
libuuid-devel \
12
12
libxml2-devel \
13
13
python3 \
14
+ python3-pip \
14
15
python3-devel \
15
16
python3-distro \
16
17
python3-setuptools \
@@ -40,6 +41,9 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \
40
41
SWIFT_WEBROOT=$SWIFT_WEBROOT \
41
42
SWIFT_PREFIX=$SWIFT_PREFIX
42
43
44
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
45
+ RUN pip3 install -r /dependencies/requirements.txt
46
+
43
47
RUN set -e; \
44
48
ARCH_NAME="$(rpm --eval '%{_arch}')" ; \
45
49
url=; \
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ RUN yum install -y \
11
11
libuuid-devel \
12
12
libxml2-devel \
13
13
python3 \
14
+ python3-pip \
14
15
python3-devel \
15
16
python3-distro \
16
17
python3-setuptools \
@@ -26,6 +27,9 @@ RUN yum install -y \
26
27
unzip \
27
28
diffutils
28
29
30
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
31
+ RUN pip3 install -r /dependencies/requirements.txt
32
+
29
33
USER build-user
30
34
31
35
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -18,14 +18,17 @@ RUN dnf -y update && dnf install -y \
18
18
make \
19
19
ninja-build \
20
20
python-unversioned-command \
21
- python27 \
22
21
python3 \
22
+ python3-pip \
23
23
python3-devel \
24
24
python3-distro \
25
25
python3-six \
26
26
rsync \
27
27
swig
28
28
29
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
30
+ RUN pip3 install -r /dependencies/requirements.txt
31
+
29
32
USER build-user
30
33
31
34
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -15,11 +15,15 @@ RUN yum install -y \
15
15
libxml2-devel \
16
16
ncurses-devel \
17
17
python3-devel \
18
+ python3-pip \
18
19
rsync \
19
20
sqlite-devel \
20
21
unzip \
21
22
zip
22
23
24
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
25
+ RUN pip3 install -r /dependencies/requirements.txt
26
+
23
27
USER build-user
24
28
25
29
WORKDIR /home/build-user
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ RUN yum install -y \
15
15
libxml2-devel \
16
16
ncurses-devel \
17
17
python3-devel \
18
+ python3-pip \
18
19
rsync \
19
20
sqlite-devel \
20
21
unzip \
@@ -34,6 +35,9 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \
34
35
SWIFT_WEBROOT=$SWIFT_WEBROOT \
35
36
SWIFT_PREFIX=$SWIFT_PREFIX
36
37
38
+ COPY swift-ci/dependencies/requirements.txt /dependencies/
39
+ RUN pip3 install -r /dependencies/requirements.txt
40
+
37
41
RUN set -e; \
38
42
ARCH_NAME="$(rpm --eval '%{_arch}')" ; \
39
43
url=; \
You can’t perform that action at this time.
0 commit comments