Skip to content

Commit

Permalink
adding ubuntu dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dingp committed Oct 5, 2023
1 parent e2b302f commit 6135d7f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dockerfiles/ubuntu-lib64.sh
Original file line number Diff line number Diff line change
@@ -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

14 changes: 14 additions & 0 deletions dockerfiles/ubuntu.dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 6135d7f

Please sign in to comment.