Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||
---|---|---|
| ||
version: "3.4"
x-args: &args
USER_ID: ${USER_ID}
GROUP_ID: ${GROUP_ID}
x-env: &env
- DISPLAY=${DISPLAY}
x-volumes: &volumes
- ${REPO_DIR}:/Repos
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ${ALMA_DIR}/${CONTAINER_OS}:/alma
- ./${CONTAINER_OS}/working:/working:z
x-acs-images: &common
build:
dockerfile: Dockerfile
context: ./${CONTAINER_OS}
args:
*args
image: acs-${CONTAINER_OS}
environment:
*env
volumes:
*volumes
working_dir: /working
services:
fedora26:
<<: *common
fedora27:
<<: *common
fedora28:
<<: *common
fedora29:
<<: *common
fedora30:
<<: *common
fedora31:
<<: *common
centos6:
<<: *common
centos7:
<<: *common
centos8:
<<: *common |
...
...
An example of the .env file:
Code Block | ||
---|---|---|
| ||
USER_ID=1000
GROUP_ID=1000
ALMA_DIR=/external/docker
REPO_DIR=/external/Repos
CONTAINER_OS=centos7 |