Skip to content

Commit c17a782

Browse files
committed
Rename container image name -> clp-package
1 parent b39644e commit c17a782

File tree

8 files changed

+10
-22
lines changed

8 files changed

+10
-22
lines changed

.github/actions/clp-build-runtime-image/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ runs:
5959
shell: "bash"
6060
run: |
6161
base_path="./tools/docker-images"
62-
platform="${{inputs.platform_id}}-${{inputs.platform_version_id}}"
6362
6463
if [[ "${{inputs.image_type}}" == "execution" ]]; then
64+
platform="${{inputs.platform_id}}-${{inputs.platform_version_id}}"
6565
dockerfile_path="$base_path/clp-execution-base-$platform/Dockerfile"
6666
else
67-
dockerfile_path="$base_path/clp-package-$platform/Dockerfile"
67+
dockerfile_path="$base_path/clp-package/Dockerfile"
6868
fi
6969
7070
echo "DOCKERFILE=$dockerfile_path" >> "$GITHUB_OUTPUT"

.github/workflows/clp-package-image-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- "components/core/tools/scripts/lib_install/*.sh"
4343
- "components/core/tools/docker-images/clp-env-base-ubuntu-jammy/**"
4444
- "components/core/tools/scripts/lib_install/ubuntu-jammy/**"
45-
- "tools/docker-images/clp-package-ubuntu-jammy/**"
45+
- "tools/docker-images/clp-package/**"
4646
4747
ubuntu-jammy-deps-image:
4848
name: "ubuntu-jammy-deps-image"

docs/src/dev-guide/building-package.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ To build a Docker image containing the CLP package, run:
7777
task docker-image-package
7878
```
7979

80-
This will create a Docker image named `clp-package-<arch>-ubuntu-jammy:dev` where `<arch>` is `x86`
81-
or `arm64`.
80+
This will create a Docker image named `clp-package:dev`.
8281

8382
[clp-issue-872]: https://github.com/y-scope/clp/issues/872
8483
[Task]: https://taskfile.dev/

docs/src/dev-guide/tooling-containers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ environment.
133133
tools/docker-images/clp-execution-base-ubuntu-jammy
134134
```
135135

136-
## clp-package-x86-ubuntu-jammy
136+
## clp-package
137137

138-
An image containing the CLP package built in an Ubuntu Jammy x86_64 environment.
138+
An image containing the CLP package.
139139

140140
* Path:
141141

142142
```text
143-
tools/docker-images/clp-package-ubuntu-jammy
143+
tools/docker-images/clp-package
144144
```
145145

146146
[core-deps-centos-stream-9]: https://github.com/y-scope/clp/pkgs/container/clp%2Fclp-core-dependencies-x86-centos-stream-9

taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ tasks:
164164

165165
docker-image-package:
166166
vars:
167-
SRC_DIR: "{{.ROOT_DIR}}/tools/docker-images/clp-package-ubuntu-jammy"
167+
SRC_DIR: "{{.ROOT_DIR}}/tools/docker-images/clp-package"
168168
dir: "{{.SRC_DIR}}"
169169
deps:
170170
- "package"

tools/docker-images/clp-package-ubuntu-jammy/Dockerfile renamed to tools/docker-images/clp-package/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COPY ./build/clp-package /opt/clp
44

55
WORKDIR /root
66

7-
COPY ./tools/docker-images/clp-package-ubuntu-jammy/setup-scripts ./setup-scripts
7+
COPY ./tools/docker-images/clp-package/setup-scripts ./setup-scripts
88
RUN ./setup-scripts/install-prebuilt-packages.sh && \
99
rm -rf ./setup-scripts/
1010

tools/docker-images/clp-package-ubuntu-jammy/build.sh renamed to tools/docker-images/clp-package/build.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,9 @@ set -o pipefail
66
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
77
repo_root=${script_dir}/../../../
88

9-
arch=$(uname -m)
10-
11-
if [ "$arch" = "x86_64" ]; then
12-
arch_name="x86"
13-
elif [ "$arch" = "aarch64" ]; then
14-
arch_name="arm64"
15-
else
16-
echo "Error: Unsupported architecture - $arch"
17-
exit 1
18-
fi
19-
209
build_cmd=(
2110
docker build
22-
--tag "clp-package-${arch_name}-ubuntu-jammy:dev"
11+
--tag "clp-package:dev"
2312
"$repo_root"
2413
--file "${script_dir}/Dockerfile"
2514
)

tools/docker-images/clp-package-ubuntu-jammy/setup-scripts/install-prebuilt-packages.sh renamed to tools/docker-images/clp-package/setup-scripts/install-prebuilt-packages.sh

File renamed without changes.

0 commit comments

Comments
 (0)