Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docker): Add node20 build in docker/build.sh #8308

Merged
merged 4 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,34 @@ set -ex

DATE=$(date +%m.%y)

docker build -t electronuserland/builder:base -t "electronuserland/builder:base-$DATE" docker/base
docker build -t devalexandria/builder:base -t "devalexandria/builder:base-$DATE" docker/base
mmaietta marked this conversation as resolved.
Show resolved Hide resolved

## NOTE: Order the latest to oldest versions. The most recent node LTS should be tagged as the latest image

# Node 20
docker build --build-arg NODE_VERSION=20.9.0 --build-arg IMAGE_VERSION=base-$DATE -t devalexandria/builder:20 -t "devalexandria/builder:20-$DATE" -t devalexandria/builder:latest docker/node
mmaietta marked this conversation as resolved.
Show resolved Hide resolved

docker build --build-arg IMAGE_VERSION=20-$DATE -t devalexandria/builder:20-wine -t "devalexandria/builder:20-wine-$DATE" -t devalexandria/builder:wine docker/wine
docker build --build-arg IMAGE_VERSION=20-wine-$DATE -t devalexandria/builder:20-wine-mono -t "devalexandria/builder:20-wine-mono-$DATE" -t devalexandria/builder:wine-mono docker/wine-mono
docker build --build-arg IMAGE_VERSION=20-wine-$DATE -t devalexandria/builder:20-wine-chrome -t "devalexandria/builder:20-wine-chrome-$DATE" -t devalexandria/builder:wine-chrome docker/wine-chrome

# Node 18
docker build --build-arg NODE_VERSION=18.18.2 --build-arg IMAGE_VERSION=base-$DATE -t electronuserland/builder:18 -t "electronuserland/builder:18-$DATE" -t electronuserland/builder:latest docker/node
docker build --build-arg NODE_VERSION=18.18.2 --build-arg IMAGE_VERSION=base-$DATE -t devalexandria/builder:18 -t "devalexandria/builder:18-$DATE" -t devalexandria/builder:latest docker/node

docker build --build-arg IMAGE_VERSION=18-$DATE -t electronuserland/builder:18-wine -t "electronuserland/builder:18-wine-$DATE" -t electronuserland/builder:wine docker/wine
docker build --build-arg IMAGE_VERSION=18-wine-$DATE -t electronuserland/builder:18-wine-mono -t "electronuserland/builder:18-wine-mono-$DATE" -t electronuserland/builder:wine-mono docker/wine-mono
docker build --build-arg IMAGE_VERSION=18-wine-$DATE -t electronuserland/builder:18-wine-chrome -t "electronuserland/builder:18-wine-chrome-$DATE" -t electronuserland/builder:wine-chrome docker/wine-chrome
docker build --build-arg IMAGE_VERSION=18-$DATE -t devalexandria/builder:18-wine -t "devalexandria/builder:18-wine-$DATE" -t devalexandria/builder:wine docker/wine
docker build --build-arg IMAGE_VERSION=18-wine-$DATE -t devalexandria/builder:18-wine-mono -t "devalexandria/builder:18-wine-mono-$DATE" -t devalexandria/builder:wine-mono docker/wine-mono
docker build --build-arg IMAGE_VERSION=18-wine-$DATE -t devalexandria/builder:18-wine-chrome -t "devalexandria/builder:18-wine-chrome-$DATE" -t devalexandria/builder:wine-chrome docker/wine-chrome

# Node 16
docker build --build-arg NODE_VERSION=16.20.2 --build-arg IMAGE_VERSION=base-$DATE -t electronuserland/builder:16 -t "electronuserland/builder:16-$DATE" docker/node
docker build --build-arg NODE_VERSION=16.20.2 --build-arg IMAGE_VERSION=base-$DATE -t devalexandria/builder:16 -t "devalexandria/builder:16-$DATE" docker/node

docker build --build-arg IMAGE_VERSION=16-$DATE -t electronuserland/builder:16-wine -t "electronuserland/builder:16-wine-$DATE" docker/wine
docker build --build-arg IMAGE_VERSION=16-wine-$DATE -t electronuserland/builder:16-wine-mono -t "electronuserland/builder:16-wine-mono-$DATE" docker/wine-mono
docker build --build-arg IMAGE_VERSION=16-wine-$DATE -t electronuserland/builder:16-wine-chrome -t "electronuserland/builder:16-wine-chrome-$DATE" docker/wine-chrome
docker build --build-arg IMAGE_VERSION=16-$DATE -t devalexandria/builder:16-wine -t "devalexandria/builder:16-wine-$DATE" docker/wine
docker build --build-arg IMAGE_VERSION=16-wine-$DATE -t devalexandria/builder:16-wine-mono -t "devalexandria/builder:16-wine-mono-$DATE" docker/wine-mono
docker build --build-arg IMAGE_VERSION=16-wine-$DATE -t devalexandria/builder:16-wine-chrome -t "devalexandria/builder:16-wine-chrome-$DATE" docker/wine-chrome

# Node 14
docker build --build-arg NODE_VERSION=14.21.3 --build-arg IMAGE_VERSION=base-$DATE -t electronuserland/builder:14 -t "electronuserland/builder:14-$DATE" docker/node
docker build --build-arg NODE_VERSION=14.21.3 --build-arg IMAGE_VERSION=base-$DATE -t devalexandria/builder:14 -t "devalexandria/builder:14-$DATE" docker/node

docker build --build-arg IMAGE_VERSION=14-$DATE -t electronuserland/builder:14-wine -t "electronuserland/builder:14-wine-$DATE" docker/wine
docker build --build-arg IMAGE_VERSION=14-wine-$DATE -t electronuserland/builder:14-wine-mono -t "electronuserland/builder:14-wine-mono-$DATE" docker/wine-mono
docker build --build-arg IMAGE_VERSION=14-wine-$DATE -t electronuserland/builder:14-wine-chrome -t "electronuserland/builder:14-wine-chrome-$DATE" docker/wine-chrome
docker build --build-arg IMAGE_VERSION=14-$DATE -t devalexandria/builder:14-wine -t "devalexandria/builder:14-wine-$DATE" docker/wine
docker build --build-arg IMAGE_VERSION=14-wine-$DATE -t devalexandria/builder:14-wine-mono -t "devalexandria/builder:14-wine-mono-$DATE" docker/wine-mono
docker build --build-arg IMAGE_VERSION=14-wine-$DATE -t devalexandria/builder:14-wine-chrome -t "devalexandria/builder:14-wine-chrome-$DATE" docker/wine-chrome
Loading