Skip to content

Commit

Permalink
feat: docker中不在支持arm7
Browse files Browse the repository at this point in the history
  • Loading branch information
jeessy2 committed Jan 3, 2023
1 parent 811bdc3 commit 9c954ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
env:
DOCKER_REPO: jeessy/backup-x
DOCKER_PLATFORMS: linux/amd64,linux/arm,linux/arm64
DOCKER_PLATFORMS: linux/amd64,linux/arm64
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ FROM golang:1.19 AS builder
WORKDIR /app
COPY . .
RUN go env -w GO111MODULE=on \
&& go env -w GOPROXY=https://goproxy.cn,direct \
&& make clean test build

# build s3sync
Expand All @@ -31,7 +30,7 @@ RUN apt-get -y update \
# https://www.postgresql.org/download/linux/debian/
RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get update
&& apt-get -y update

RUN apt-get install -y postgresql-client-14 \
&& apt-get install -y default-mysql-client
Expand Down

0 comments on commit 9c954ee

Please sign in to comment.