chore: Rename Docker image 'spark-dev' -> 'sparkd-dev'
This is a more accurate and appropriate name than 'spark-dev' because the image is designed to build/run Sparkd and the Spark Api Server (both of which are daemons, hence the appropriateness of the 'd' suffix). It isn't designed to build/run the front-end desktop application, Spark.
This commit is contained in:
1 parent
06c833e96c
commit
b42943fe8d
2 files changed
+7
-7
No files matched your search
@@ -1,10 +1,10 @@
|
||||
# Spark Dev Container
|
||||
## How to create a Spark VS Code Devcontainer
|
||||
# Sparkd Dev Container
|
||||
## How to create a Sparkd VS Code Devcontainer
|
||||
|
||||
1. Make sure the "Dev Containers" extension is installed in VS Code
|
||||
1. Make sure your Docker image is up to date
|
||||
```
|
||||
docker pull johncolvin/bluetradingsystems:spark-dev
|
||||
docker pull johncolvin/bluetradingsystems:sparkd-dev
|
||||
```
|
||||
1. Copy **devcontainer.json** from this folder to **$workspaceFolder/.devcontainer/**.
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
1. After modifying the Dockerfile, (re)build the image
|
||||
```
|
||||
./build.sh --image johncolvin/bluetradingsystems:spark-dev
|
||||
./build.sh --image johncolvin/bluetradingsystems:sparkd-dev
|
||||
```
|
||||
> - ***NOTE:** The convention in Docker repos is to format image tags
|
||||
> `<user>/<repo>:<image_name>` (hence the 'johncolvin' in the tag)*<br>
|
||||
@@ -42,7 +42,7 @@
|
||||
1. Push the new image to Docker Hub
|
||||
|
||||
```
|
||||
docker push johncolvin/bluetradingsystems:spark-dev
|
||||
docker push johncolvin/bluetradingsystems:sparkd-dev
|
||||
```
|
||||
***Note:** The image doesn't have to be on Docker Hub, we can simply build
|
||||
it from scratch on our local machines (with the Dockerfile). However, this
|
||||
|
||||
@@ -8,7 +8,7 @@ Usage: build.sh [OPTIONS]
|
||||
Options:
|
||||
-u,--user USER or USER:UID The user to add to the image (defaults to 'bts')
|
||||
-p,--pass The password for USER in the image (defaults to USER)
|
||||
-i,--image The name to give the image (defaults to "USER:spark-dev")
|
||||
-i,--image The name to give the image (defaults to "USER:sparkd-dev")
|
||||
-h,--help Print this help message and exit
|
||||
|
||||
EOF
|
||||
@@ -90,7 +90,7 @@ case ${#docker_user_args[@]} in
|
||||
esac
|
||||
|
||||
if [[ -z "$image_name" ]]; then
|
||||
image_name="${docker_user}:spark-dev"
|
||||
image_name="${docker_user}:sparkd-dev"
|
||||
fi
|
||||
|
||||
echo "Building image
|
||||
|
||||
Reference in new issue
Block a user