Commit 79d8678 1 parent 9f89312 commit 79d8678 Copy full SHA for 79d8678
File tree 2 files changed +13
-4
lines changed
ansible/roles/jenkins-worker
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM resin /rpi-raspbian:stretch
1
+ FROM balenalib /rpi-raspbian:stretch
2
2
3
3
ENV LC_ALL=C \
4
4
USER={{ server_user }} \
@@ -26,7 +26,9 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \
26
26
openssh-client \
27
27
gzip \
28
28
xz-utils \
29
- curl && \
29
+ curl \
30
+ libffi-dev \
31
+ zlib1g-dev && \
30
32
apt-get clean -y && \
31
33
rm -rf /var/lib/apt/lists/*
32
34
@@ -36,6 +38,15 @@ RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 50 && \
36
38
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 50 && \
37
39
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-6 50
38
40
41
+ RUN mkdir /python && \
42
+ cd /python && \
43
+ curl https://github.com/python/cpython/archive/refs/tags/v3.9.4.tar.gz -L --output v3.9.4.tar.gz && \
44
+ tar xf v3.9.4.tar.gz && \
45
+ cd cpython-3.9.4 && \
46
+ ./configure && \
47
+ make install && \
48
+ rm -rf /python
49
+
39
50
RUN addgroup \
40
51
--gid {{ server_user_gid.stdout_lines[0] }} \
41
52
{{ server_user }} && \
Original file line number Diff line number Diff line change @@ -122,11 +122,9 @@ raspberry_pi: {
122
122
{ name: 'jessie', template: 'rpi_jessie.Dockerfile.j2' }
123
123
],
124
124
armv7l : [
125
- { name: 'jessie', template: 'rpi_jessie.Dockerfile.j2' },
126
125
{ name: 'stretch', template: 'rpi_stretch.Dockerfile.j2' }
127
126
],
128
127
arm64 : [
129
- { name: 'jessie', template: 'rpi_jessie.Dockerfile.j2' },
130
128
{ name: 'stretch', template: 'rpi_stretch.Dockerfile.j2' }
131
129
]
132
130
}
You can’t perform that action at this time.
0 commit comments