Skip to content

Commit

Permalink
docker fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-mgo committed Jul 29, 2024
1 parent 385e8a8 commit 4be7160
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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 @@ -18,7 +18,7 @@ jobs:
run: |
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 build --network=host -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
sudo chown $(whoami) -R ./docker-package/
./docker-package/oapi-cli-x86_64.AppImage --appimage-extract-and-run --help
Expand Down
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ FROM centos:7

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 install -y wget

RUN wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN yum install epel-release-latest-7.noarch.rpm
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
Expand Down

0 comments on commit 4be7160

Please sign in to comment.