Compare commits
2 Commits
3df8e75927
...
a6d185b18d
Author | SHA1 | Date | |
---|---|---|---|
a6d185b18d | |||
241bb09b1d |
BIN
.gitea/screenshot.png
Normal file
BIN
.gitea/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 562 KiB |
25
README.md
25
README.md
@ -101,17 +101,34 @@ or you can also install packages from the AUR using paru.
|
||||
|
||||
## Custom Images
|
||||
|
||||
For creating an image with your own pre-installed set of packages for your team you can create your own docker image extending the stacks, just as the stacks extend the base image. For reference check the stacks dockerfiles.
|
||||
For creating an image with your own pre-installed set of packages for your team you can create your own docker image extending the stacks, just as the stacks extend the base image. For reference check the stacks dockerfiles in the `stack` folder.
|
||||
|
||||
The following sections will get you to build and test any of the included stacks or your own custom image.
|
||||
|
||||
### Build
|
||||
|
||||
A singular stack image can be builded using docker in the following way from the repository root path.
|
||||
Choose a singular stack image to build using docker for the desktop or the web client and replace the `<stack>` placeholder. Keep in mind that following steps are intended to be run from the repository root path.
|
||||
|
||||
#### Desktop build
|
||||
|
||||
Build the base image and then the stack image.
|
||||
|
||||
```sh
|
||||
docker build --no-cache -t osicstacks-base-<desktop/web> -f base/<desktop/web>.Dockerfile .
|
||||
docker build --no-cache --build-arg BASE_IMG=osicstacks-base-<desktop/web> --target <stack>-<desktop/web> -t <tag> -f stacks/<stack>.Dockerfile .
|
||||
docker build --no-cache -t osicstacks-base-desktop -f base/desktop.Dockerfile .
|
||||
docker build --no-cache --build-arg BASE_IMG=osicstacks-base-desktop --target <stack>-desktop -t <tag> -f stacks/<stack>.Dockerfile .
|
||||
```
|
||||
|
||||
#### Web build
|
||||
|
||||
For the web client build the web client base image the required desktop image as well.
|
||||
|
||||
```sh
|
||||
docker build --no-cache -t osicstacks-base-desktop -f base/desktop.Dockerfile .
|
||||
docker build --no-cache -t osicstacks-base-web -f base/web.Dockerfile .
|
||||
docker build --no-cache --build-arg BASE_IMG=osicstacks-base-web --target <stack>-web -t <tag> -f stacks/<stack>.Dockerfile .
|
||||
```
|
||||
|
||||
|
||||
### Local Run
|
||||
|
||||
Images can be tested and runned in the following way.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# OSIC Stacks - osicstacks-base-webarch
|
||||
# OSIC Stacks - osicstacks-base-web
|
||||
# Base image for OSIC Stacks
|
||||
FROM osicstacks-base-arch
|
||||
FROM osicstacks-base-desktop
|
||||
|
||||
# Update packages
|
||||
RUN sudo pacman -Syuq --noconfirm
|
||||
|
Loading…
Reference in New Issue
Block a user