Skip to content

Commit

Permalink
update travis and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xpecex committed Jul 27, 2020
1 parent 4b74102 commit 4ab6bb8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
dist: bionic
dist: xenial
sudo: required
language: minimal
env:
global:
- ALPINE_VERSION="3.11.6"
- S6_VERSION=""
- IMG_NAME="xpecex/alpine-s6"
- S6_VERSION="2.0.0.1"
- DOCKER_CLI_EXPERIMENTAL="enabled"
before_install:
- sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
- sudo apt update
- sudo apt install -y docker-ce
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
- sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get install -y docker-ce docker-ce-cli containerd.io
- docker run --rm --privileged linuxkit/binfmt:v0.8
install:
- docker buildx create --use --name xbuild
- docker buildx create --use --name qemu
- docker buildx inspect --bootstrap
script: bash build.sh

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# BUILD FROM SCRATCH
FROM --platform=$TARGETPLATFORM scratch AS build
FROM scratch

# BUILD ARGs
ARG TARGETPLATFORM
Expand Down

0 comments on commit 4ab6bb8

Please sign in to comment.