From 7dbeffc7969b77ff72dc684d748dd2f0f8c21025 Mon Sep 17 00:00:00 2001 From: Manan Gupta Date: Mon, 27 May 2024 13:00:13 +0530 Subject: [PATCH] feat: fix docker image building Signed-off-by: Manan Gupta --- .github/workflows/vtop_example.yml | 2 +- docker/binaries/vtadmin/Dockerfile | 2 +- test/vtop_example.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/vtop_example.yml b/.github/workflows/vtop_example.yml index 1d4f16e43f1..dcdb8f2cdab 100644 --- a/.github/workflows/vtop_example.yml +++ b/.github/workflows/vtop_example.yml @@ -7,7 +7,7 @@ concurrency: jobs: build: name: VTop Example - runs-on: ubuntu-latest + runs-on: gh-hosted-runners-16cores-1 steps: - name: Skip CI diff --git a/docker/binaries/vtadmin/Dockerfile b/docker/binaries/vtadmin/Dockerfile index 9d30ba565e0..fe69237ea13 100644 --- a/docker/binaries/vtadmin/Dockerfile +++ b/docker/binaries/vtadmin/Dockerfile @@ -17,7 +17,7 @@ ARG DEBIAN_VER=bullseye-slim FROM vitess/lite:${VT_BASE_VER} AS lite -FROM node:18-${DEBIAN_VER} as node +FROM node:20-${DEBIAN_VER} as node # Prepare directory structure. RUN mkdir -p /vt/web diff --git a/test/vtop_example.sh b/test/vtop_example.sh index 5ff90a2be7e..4ca9ccde9e5 100755 --- a/test/vtop_example.sh +++ b/test/vtop_example.sh @@ -486,7 +486,7 @@ EOF # Build the docker image for vitess/lite using the local code docker build -f docker/lite/Dockerfile -t vitess/lite:pr . # Build the docker image for vitess/vtadmin using the local code -docker build -f docker/binaries/vtadmin/Dockerfile --build-arg VT_BASE_VER=pr -t vitess/vtadmin:pr . +docker build -f docker/binaries/vtadmin/Dockerfile --build-arg VT_BASE_VER=pr -t vitess/vtadmin:pr ./docker/binaries/vtadmin # Print the docker images available docker image ls