Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Jun 27, 2023
1 parent f941a79 commit c055139
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/arm,linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM centos:7
ADD build-minimal.sh /tmp/build-minimal.sh

RUN chmod +x /tmp/build-minimal.sh && /tmp/build-minimal.sh
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# build CentOS 7 docker image that could be use to build webp_server_go
# libvips CentOS 7 docker image
* we could use this to build webp_server_go with lower version of glibc
3 changes: 2 additions & 1 deletion build-minimal → build-minimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ esac


yum install -y epel-release wget
yum install -y glib2-devel expat-devel gcc make gcc-c++
yum groupinstall -y 'development tools'
yum install -y glib2-devel expat-devel

cd
wget https://github.com/libvips/libvips/releases/download/v8.10.0/vips-8.10.0.tar.gz
Expand Down

0 comments on commit c055139

Please sign in to comment.