mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-05-01 17:30:33 +03:00
Added parallel docker image multi-arch building
This commit is contained in:
parent
1d26cd93fb
commit
91daec852f
3 changed files with 66 additions and 21 deletions
scripts/docker
12
scripts/docker/install-docker
Executable file
12
scripts/docker/install-docker
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
# install latest docker version
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||
apt-get update
|
||||
apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
||||
|
||||
# enable multiarch execution
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
Loading…
Add table
Add a link
Reference in a new issue