-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.linux.ps1
executable file
·58 lines (52 loc) · 1.6 KB
/
build.linux.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env pwsh
# $env:SCOOP_CACHE="$PWD/.cache"; shovel update; shovel download 7zip zstd dark lessmsi gsudo innounp innoextract oh-my-posh3 posh-git cwRsync EXEExplorer fiddler RDPWrapper pwsh pwsh-preview vim win32-openssh winget zstd git mingit dotnet-sdk --skip
$env:DOCKER_SCAN_SUGGEST = 'false'
Push-Location $PWD
$org = 'shovelinstaller'
$image = "$org/shovel-dev"
$scoopImage = "$org/scoop"
#region Linux
# shovel-dev
docker build `
--tag "${image}:latest" `
--tag "${image}:alpine" `
--tag "${image}:preview" `
--tag "${image}:preview-alpine" `
--build-arg 'SCOOP_BRANCH=NEW' `
--platform 'linux/amd64' `
--file './alpine/Dockerfile' `
--no-cache `
.
# shovel-dev - debian
docker build `
--tag "${image}:debian" `
--tag "${image}:preview-debian" `
--build-arg 'SCOOP_BRANCH=NEW' `
--platform 'linux/amd64' `
--file './debian/Dockerfile' `
--no-cache `
.
# shovel-dev - ubuntu
docker build `
--tag "${image}:ubuntu" `
--tag "${image}:preview-ubuntu" `
--build-arg 'SCOOP_BRANCH=NEW' `
--build-arg 'IMAGE=preview-ubuntu-focal' `
--platform 'linux/amd64' `
--file './debian/Dockerfile' `
--no-cache `
.
# shovel-dev - rocky/other UBI
# shovel-dev container
docker build `
--tag "${image}:container" `
--tag "${image}:container-latest" `
--tag "${image}:container-preview" `
--tag "${image}:container-debian" `
--tag "${image}:container-debian-preview" `
--build-arg 'SCOOP_BRANCH=NEW' `
--platform 'linux/amd64' `
--file './dev-container/Dockerfile' `
--no-cache `
.
#endregion Linux