28 lines
843 B
Markdown
28 lines
843 B
Markdown
# Development Containers
|
|
|
|
## Authentication
|
|
Before updating development images, authenticate to the registry:
|
|
|
|
```sh
|
|
docker login registry.tomastm.com
|
|
```
|
|
|
|
## Updating Development Images
|
|
Follow these steps to update development images:
|
|
|
|
### Step 1: Update and Commit Changes
|
|
- Modify the Dockerfile or install script as needed.
|
|
- Ensure that each commit updates only a single development image.
|
|
- Commit the changes to version control.
|
|
|
|
### Step 2: Build the Image
|
|
- Run the following command to build the image:
|
|
|
|
```sh
|
|
./build-image.sh <image>
|
|
```
|
|
|
|
- Since `dockerx` does not function properly inside `qemu`, execute this command separately on machines with different CPU architectures.
|
|
- Build the image on both `amd64` and `arm64` architectures.
|
|
- Once both architectures are built, the script will automatically generate a manifest.
|