Skip to content

Commit

Permalink
fix: move to Ubuntu Kinetic
Browse files Browse the repository at this point in the history
this is the only distro i know that has both the required libc version
to run some newer clang / gcc builds and has python2 support

newer Ubuntu releases and Debian Bookworm completely dropped python2 support
Debian Bullseye and Ubuntu releases older than Kinetic doesnt have the
libc version requied
  • Loading branch information
fukiame committed Aug 7, 2023
1 parent d726537 commit 4aaba63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/debian:bookworm-slim
FROM docker.io/library/ubuntu:kinetic
ENV DEBIAN_FRONTEND noninteractive
COPY * /
ENTRYPOINT [ "/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

apt-get update
apt-get install llvm lld bc bison ca-certificates curl flex gcc git libc6-dev \
libssl-dev openssl python3 zip zstd make clang gcc-arm-linux-gnueabi \
libssl-dev openssl python3 python2 zip zstd make clang gcc-arm-linux-gnueabi \
software-properties-common device-tree-compiler libxml2 libarchive-tools \
libelf-dev libssl-dev libtfm-dev wget xz-utils -y
ln -sf "/usr/bin/python3" /usr/bin/python
Expand Down

0 comments on commit 4aaba63

Please sign in to comment.