Skip to content

Commit

Permalink
try fix docker
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Jul 29, 2024
1 parent 1e498cd commit 71fa7d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-pkg-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get install -y -f -o Acquire::Retries=3 cargo libfuse2
docker build -t oapi-build ./docker
docker run --device /dev/fuse --cap-add SYS_ADMIN --privileged=True -v $PWD:/oapi-cli oapi-build scl enable devtoolset-11 -- /oapi-cli/docker/make.sh cp
docker run --device /dev/fuse --cap-add SYS_ADMIN --privileged=True -v $PWD:/oapi-cli oapi-build /oapi-cli/docker/make.sh cp
sudo chown $(whoami) -R ./docker-package/
./docker-package/oapi-cli-x86_64.AppImage --appimage-extract-and-run --help
./docker-package/oapi-cli-x86_64.AppImage --help
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM centos:7
FROM rockylinux:8

RUN echo "assumeyes=1" >> /etc/yum.conf

RUN yum search epel-release
RUN yum info epel-release
RUN yum install -y epel-release wget
RUN yum update -y

RUN yum install -y git autoconf automake make cmake3 json-c-devel centos-release-scl-rh libnghttp2 libpsl libtool pkgconfig fuse-devel file cargo libcurl-devel
RUN yum install -y devtoolset-11-gcc-c++
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake
RUN yum install -y git autoconf automake make cmake json-c-devel libnghttp2 libpsl libtool pkgconfig fuse-devel file cargo libcurl-devel

RUN yum clean all

0 comments on commit 71fa7d5

Please sign in to comment.