Skip to content

Commit c730109

Browse files
committed
Simplify
1 parent a44587d commit c730109

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

docker/Dockerfile.ubuntu.vcpkg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
ARG DISTRO_VERSION=jammy
1+
ARG UBUNTU_VERSION=22.04
22
ARG LLVM_VERSION=16
33

4-
ARG BUILD_BASE=ubuntu:${DISTRO_VERSION}
5-
FROM ${BUILD_BASE} as base
6-
ARG DISTRO_VERSION
4+
FROM ubuntu:${UBUNTU_VERSION} as base
75
ARG LLVM_VERSION
86

97
# All build dependencies for vcpkg packages

docker/build.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ set -euo pipefail
55
# Builds base images with all required dependencies to bootstrap vcpkg and
66
# build vcpkg libraries as well as all lifting-bits tools
77

8-
# Also remember to change the '.github/workflows/vcpkg_docker_amd64.yml' variable
9-
IMAGE_VER=v2
10-
118
# Ubuntu versions to build
12-
UBUNTU_VERSION_MATRIX=( "jammy" )
9+
UBUNTU_VERSION_MATRIX=( "22.04" )
1310

1411
for version in "${UBUNTU_VERSION_MATRIX[@]}"; do
1512
# Always pull from upstream
1613
docker pull "ubuntu:${version}"
1714

15+
# Also remember to change the '.github/workflows/vcpkg_docker.yml' variable
1816
# Image identification
19-
tag="vcpkg-builder-ubuntu-${IMAGE_VER}:${version}"
17+
tag="vcpkg-builder-ubuntu-${version}-v2"
2018

2119
# Build
2220
docker build \

0 commit comments

Comments
 (0)