From 1ff9a3d62379ce75e65dac94ba97ae637ae7983e Mon Sep 17 00:00:00 2001 From: Andrew Slotin Date: Wed, 6 Dec 2023 17:36:05 +0100 Subject: [PATCH] Remove legacy image stage from the Dockerfile --- Dockerfile | 7 ------- entrypoint-legacy.sh | 13 ------------- 2 files changed, 20 deletions(-) delete mode 100755 entrypoint-legacy.sh diff --git a/Dockerfile b/Dockerfile index 0869645eadbc..24a31ca0b7aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,13 +18,6 @@ WORKDIR /home/k6 ENTRYPOINT ["k6"] -# Legacy loadimpact/k6 image -FROM release as legacy - -COPY entrypoint-legacy.sh /usr/bin/ - -ENTRYPOINT ["/usr/bin/entrypoint-legacy.sh"] - # Browser-enabled bundle FROM release as with-browser diff --git a/entrypoint-legacy.sh b/entrypoint-legacy.sh deleted file mode 100755 index 560ed02736c4..000000000000 --- a/entrypoint-legacy.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -cat >&2 <<-EOF -+------------------------------------------------------------------------------+ -| WARNING: The loadimpact/k6 Docker image has been replaced by grafana/k6. | -| THIS IMAGE IS DEPRECATED and its support will be discontinued after | -| Dec 31, 2023. Please update your scripts to use grafana/k6 to | -| continue using the latest version of k6. | -+------------------------------------------------------------------------------+ - -EOF - -/usr/bin/k6 "$@"