blob: 3f3f8bb3697c492ac61bbff1a5316e03af356a34 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
version: '3.8'
services:
weasel:
image: licenseweasel/weasel:v0.4
volumes:
- ../../..:/trafficcontrol:z
command: ['-f', '/trafficcontrol/dist/weasel.txt', '/trafficcontrol']
source:
image: apache/traffic_source_tarballer:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-source
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
traffic_monitor_build:
image: apache/traffic_monitor_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-traffic_monitor
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
traffic_ops_build:
image: apache/traffic_ops_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-traffic_ops
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
cache-config_build:
image: apache/trafficcontrol-cache-config_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-cache-config
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
tc-health-client_build:
image: apache/trafficcontrol-tc-health-client_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-tc-health-client
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
traffic_portal_build:
image: apache/traffic_portal_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-traffic_portal
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
- ../../../.npm:/root/.npm:z
traffic_router_build:
image: apache/traffic_router_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-traffic_router
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
- ../../../.m2:/root/.m2:z
traffic_stats_build:
image: apache/traffic_stats_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-traffic_stats
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
grove_build:
image: apache/traffic_grove_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-grove
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
grovetccfg_build:
image: apache/traffic_grovetccfg_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-grovetccfg
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z
docs:
image: apache/traffic_docs_builder:7.0.x
build:
dockerfile: infrastructure/docker/build/Dockerfile-docs
context: ../../..
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
volumes:
- ../../..:/trafficcontrol:z