-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (29 loc) · 1.39 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '3.3'
# repo: https://github/ballab1/perl.git
services:
perl:
build:
args:
CBF_VERSION: ${CBF_VERSION:-}
CONTAINER_NAME: perl
FROM_BASE: ${DOCKER_REGISTRY:-ubuntu-s2.home:5000/}${CONTAINER_OS:-alpine}/base_container:${BASE_TAG:-latest}
PERL_VERSION: ${PERL_VERSION:-5.34.0-r1}
cache_from:
- ${DOCKER_REGISTRY:-ubuntu-s2.home:5000/}thirdparty/${CONTAINER_OS:-alpine}:${OS_VERSION:-3.18.2}
- ${DOCKER_REGISTRY:-ubuntu-s2.home:5000/}${CONTAINER_OS:-alpine}/base_container:${BASE_TAG:-latest}
context: .
dockerfile: Dockerfile
labels:
container.build.time: $CONTAINER_BUILD_TIME
container.fingerprint: $CONTAINER_FINGERPRINT
container.git.refs: $CONTAINER_GIT_REFS
container.git.commit: $CONTAINER_GIT_COMMIT
container.git.url: $CONTAINER_GIT_URL
container.origin: $CONTAINER_ORIGIN
container.original.name: perl
container.parent: $CONTAINER_PARENT
version.cbf: $CBF_VERSION
container_name: perl
environment:
DEBUG_TRACE: ${DEBUG_TRACE:-0}
image: ${DOCKER_REGISTRY:-ubuntu-s2.home:5000/}${CONTAINER_OS:-alpine}/perl/${PERL_VERSION:-5.34.0-r1}:${CONTAINER_TAG:-latest}