Skip to content

Commit

Permalink
Merge pull request #350 from solidnerd/revert-321-arm64-release
Browse files Browse the repository at this point in the history
Revert "Add arm64 platforms for docker image release"
  • Loading branch information
rjhenry authored Sep 12, 2022
2 parents 6e42996 + 34a74c3 commit 6d59c44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: false
tags: |
${{ steps.docker_meta_ci.outputs.tags }}
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ steps.docker_meta.outputs.tags }}
Expand Down
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ RUN set -x; \
curl \
libzip-dev \
unzip \
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
&& wget "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${arch}.deb" \
&& chmod a+x "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
&& apt-get install -y "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
&& rm "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb \
&& chmod a+x ./wkhtmltox_0.12.6-1.buster_amd64.deb \
&& apt-get install -y ./wkhtmltox_0.12.6-1.buster_amd64.deb \
&& rm ./wkhtmltox_0.12.6-1.buster_amd64.deb \
&& docker-php-ext-install -j$(nproc) dom pdo pdo_mysql zip tidy \
&& docker-php-ext-configure ldap \
&& docker-php-ext-install -j$(nproc) ldap \
Expand Down

0 comments on commit 6d59c44

Please sign in to comment.