#Launch lightsail
https://lightsail.aws.amazon.com/ls/webapp/home/instances
#install docker
https://docs.docker.com/engine/install/ubuntu/
#prepare machine
docker buildx create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder
docker buildx inspect --bootstrap
#clone and edit as you need
https://github.com/Apiki/wphost
PREVIOUS_VERSION=1.21.4.2
VERSION=1.25.3.1-2
SERVICE=nginx
git commit -am "update $SERVICE from $PREVIOUS_VERSION to $VERSION"
git push origin master
#log on docker to push the image
docker login
#build
nohup docker buildx build --platform=linux/amd64,linux/arm64 --tag apiki/wphost:${SERVICE}-${VERSION} --push -f ${PWD}/wphost/${SERVICE}/all/Dockerfile . &
-
Notifications
You must be signed in to change notification settings - Fork 0
Apiki/wphost
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published