From 160a66af23c80e6d968fa6bd4462839982739d4b Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 8 Jan 2022 23:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_docker_image.yml | 2 +- docker/Dockerfile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index c0f7e18d..bb102199 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -108,7 +108,7 @@ jobs: build-args: | MAINTAINER=${{ github.repository_owner }} QL_BRANCH=${{ github.ref_name }} - platforms: linux/amd64,linux/arm/v6,linux/arm64,linux/s390x + platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/s390x context: docker/ push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/docker/Dockerfile b/docker/Dockerfile index 72b64b03..8fe95376 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -28,7 +28,9 @@ RUN set -x \ jq \ openssh \ py3-pip \ - sqlite \ + python2 \ + g++ \ + make \ && rm -rf /var/cache/apk/* \ && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone \