Skip to content

Commit 4b799f7

Browse files
committed
fix(docker): python bytecode compilation
- we were seeing some issues when building the uboot containers with bytecode compilation, especially on Ubuntu Noble - apparently this is common and known problem - there are multiple possible workarounds, one is to postpone the automatic bytecode compilation, but this is problematic because our containers are multi-arch (x86_64 and arm64) - bump ubuntu to Plucky Puffin (25.04) - also, added a step to fix the installation Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
1 parent 5f29316 commit 4b799f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/uboot/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is multi-stage Dockerfile
22
# Docs: https://docs.docker.com/build/building/multi-stage/
33

4-
ARG SOURCE_IMAGE=ubuntu:noble
4+
ARG SOURCE_IMAGE=ubuntu:plucky
55
ARG TARGETARCH=amd64
66

77
#=============
@@ -62,7 +62,8 @@ RUN apt-get update && \
6262
python3-virtualenv \
6363
swig \
6464
uuid-dev \
65-
&& \
65+
|| true && \
66+
apt-get --fix-broken install && \
6667
if [ "${TARGETARCH}" = 'amd64' ]; then \
6768
apt-get install -y --no-install-recommends \
6869
gcc-aarch64-linux-gnu; \

0 commit comments

Comments
 (0)