mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-10 06:24:18 +00:00
Create build-locally.sh
This script build the monolithic image locally, from the githubs pages. It's intended for cases like the raspberry pi, which operates on arm64 architecture, which isn't available as an image. See https://github.com/lancachenet/monolithic/issues/171.
This commit is contained in:
parent
aba04fc0ab
commit
88112c3a99
1 changed files with 22 additions and 0 deletions
22
build-locally.sh
Normal file
22
build-locally.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
#This script build the monolithic image locally, for cases like the raspberry pi, which operates on arm64 architecture, which isn't officially supported.
|
||||
|
||||
PURPLEBOLD="$(tput setf 5 bold)"
|
||||
|
||||
printf "${PURPLEBOLD}Building temporary modified Ubuntu image:\n"
|
||||
docker build -t lancachenet/ubuntu:latest --progress tty https://github.com/lancachenet/ubuntu.git
|
||||
|
||||
printf "${PURPLEBOLD}Removing standart Ubuntu image:\n"
|
||||
docker rmi ubuntu
|
||||
|
||||
printf "${PURPLEBOLD}Building temporary Ubuntu-Nginx image:\n"
|
||||
docker build -t lancachenet/ubuntu-nginx:latest --progress tty https://github.com/lancachenet/ubuntu-nginx.git
|
||||
|
||||
printf "${PURPLEBOLD}Building Monolithic image:\n"
|
||||
docker build -t lancachenet/monolithic:latest --progress tty https://github.com/lancachenet/monolithic.git
|
||||
|
||||
printf "${PURPLEBOLD}Removing temporary Ubuntu image:\n"
|
||||
docker rmi lancachenet/ubuntu
|
||||
|
||||
printf "${PURPLEBOLD}Removing temporary Ubuntu-Nginx image:\n"
|
||||
docker rmi lancachenet/ubuntu-nginx
|
Loading…
Reference in a new issue