docker-base-images icon indicating copy to clipboard operation
docker-base-images copied to clipboard

Update ocaml-dockerfile to support Ubuntu 24.04

Open mtelvers opened this issue 1 year ago • 4 comments

mtelvers avatar Apr 24 '24 17:04 mtelvers

ppc64le images fail to build. There is a permission issue when extracting from a tar file. These steps work on x86_64 and other platforms but fail on ppc64le:

docker run -it --rm ubuntu:noble
apt-get -y update
apt install -y wget
cd /tmp
wget https://github.com/ocaml/ocaml/archive/4.14.2.tar.gz
tar -xzf 4.14.2.tar.gz

Error message

...
tar: ocaml-4.14.2/utils: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: ocaml-4.14.2/yacc: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: ocaml-4.14.2: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: Exiting with failure status due to previous errors

The tar file can be any tar, it's not specific to this .tar.

mtelvers avatar Apr 26 '24 11:04 mtelvers

There is currently no riscv64/ubuntu:noble image on docker hub.

mtelvers avatar Apr 26 '24 11:04 mtelvers

The RISCV64 images could be built by the deployer. See https://github.com/mtelvers/docker-base-images/pull/1

mtelvers avatar May 01 '24 17:05 mtelvers

https://bugs.launchpad.net/ubuntu/+source/tar/+bug/2059734

mtelvers avatar May 08 '24 14:05 mtelvers

This has been superseded.

mtelvers avatar May 31 '24 10:05 mtelvers