Skip to content

Commit

Permalink
Fix s6 arch
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyao2015 committed Mar 5, 2022
1 parent 6451d32 commit 13084d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
include:
- arch: linux/386
arch_friendly: i386
s6_arch: x86
s6_arch: i686
- arch: linux/amd64
arch_friendly: amd64
s6_arch: amd64
s6_arch: x86_64
- arch: linux/arm/v7
arch_friendly: armv7
s6_arch: armhf
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:experimental
ARG ZM_VERSION=master
ARG S6_ARCH=amd64
ARG S6_ARCH=x86_64

#####################################################################
# #
Expand Down Expand Up @@ -59,7 +59,7 @@ WORKDIR /s6downloader
RUN set -x \
&& S6_OVERLAY_VERSION=$(wget --no-check-certificate -qO - https://api.github.com/repos/just-containers/s6-overlay/releases/latest | awk '/tag_name/{print $4;exit}' FS='[""]') \
&& S6_OVERLAY_VERSION=${S6_OVERLAY_VERSION:1} \
&& wget -O /tmp/s6-overlay-arch.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64-${S6_OVERLAY_VERSION}.tar.xz" \
&& wget -O /tmp/s6-overlay-arch.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}-${S6_OVERLAY_VERSION}.tar.xz" \
&& wget -O /tmp/s6-overlay-noarch.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch-${S6_OVERLAY_VERSION}.tar.xz" \
&& mkdir -p /tmp/s6 \
&& tar -Jxvf /tmp/s6-overlay-noarch.tar.xz -C /tmp/s6 \
Expand Down

0 comments on commit 13084d0

Please sign in to comment.