From 6135d7fe473846af746d13441324494b98aae8e1 Mon Sep 17 00:00:00 2001 From: Pengfei Ding <9438483+dingp@users.noreply.github.com> Date: Wed, 4 Oct 2023 21:33:24 -0500 Subject: [PATCH] adding ubuntu dockerfile --- dockerfiles/ubuntu-lib64.sh | 10 ++++++++++ dockerfiles/ubuntu.dockerfile | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 dockerfiles/ubuntu-lib64.sh create mode 100644 dockerfiles/ubuntu.dockerfile diff --git a/dockerfiles/ubuntu-lib64.sh b/dockerfiles/ubuntu-lib64.sh new file mode 100755 index 0000000..8bf7cf8 --- /dev/null +++ b/dockerfiles/ubuntu-lib64.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cd /usr/lib64 +for i in $(ls /usr/lib/x86_64-linux-gnu/) +do + if [[ "$i" != "ld-linux"* ]]; then + ln -s /usr/lib/x86_64-linux-gnu/$i . + fi +done + diff --git a/dockerfiles/ubuntu.dockerfile b/dockerfiles/ubuntu.dockerfile new file mode 100644 index 0000000..73d450d --- /dev/null +++ b/dockerfiles/ubuntu.dockerfile @@ -0,0 +1,14 @@ +FROM ubuntu:22.04 + +ENV REFRESHED_ON 20231004 + +RUN apt update \ + && apt-get install -y git python3-yaml build-essential gfortran wget tar zip \ + rsync patch lbzip2 texinfo file keyutils libkeyutils-dev gcc-multilib g++-multilib libunwind-dev \ + && apt-get clean + +ADD ubuntu-lib64.sh /usr/bin/ubuntu-lib64.sh +RUN /usr/bin/ubuntu-lib64.sh + + +ENTRYPOINT ["/bin/bash"]