-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sh
23 lines (19 loc) · 1.27 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Build from source
cd ~
rm docker-transcodeautomation -d -r
git clone https://github.com/thetaylorlee/docker-transcodeautomation
cd docker-transcodeautomation
version=$(cat version)
## Build Dev
#DOCKER_BUILDKIT=1 docker build -f Dockerfile.ubuntu22.04-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:ubuntu22.04-lts-develop .
#DOCKER_BUILDKIT=1 docker build -f Dockerfile.alpine3.14-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:alpine3.14-lts-develop .
## Build Prod
### Ubuntu
DOCKER_BUILDKIT=1 docker build -f Dockerfile.ubuntu22.04-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:ubuntu22.04-lts-$version .
DOCKER_BUILDKIT=1 docker build -f Dockerfile.ubuntu22.04-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:ubuntu22.04-lts .
### Alpine
DOCKER_BUILDKIT=1 docker build -f Dockerfile.alpine3.14-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:alpine3.14-lts-$version .
DOCKER_BUILDKIT=1 docker build -f Dockerfile.alpine3.14-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:alpine3.14-lts .
DOCKER_BUILDKIT=1 docker build -f Dockerfile.alpine3.14-lts -t ghcr.io/thetaylorlee/docker-transcodeautomation:latest .
### Pushing the images for maintainers only. Currently managed by actions
#docker push ghcr.io/thetaylorlee/docker-transcodeautomation -a