diff --git a/infrastructure/docker/build/Dockerfile-traffic_monitor-el7 b/infrastructure/docker/build/Dockerfile-traffic_monitor-el7 new file mode 100644 index 0000000000..b8e854fcf8 --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_monitor-el7 @@ -0,0 +1,51 @@ +# 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. +FROM centos:7 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release && \ + yum -y clean all + +### traffic_monitor specific requirements +RUN yum -y install \ + # gcc is necessary in case -gcflags 'all=-N -l' is passed to go build + gcc \ + git \ + rpm-build && \ + yum -y clean all + +RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \ + tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \ + ln -s /usr/local/go/bin/go /usr/bin/go && \ + rm go1.14.2.linux-amd64.tar.gz + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_monitor + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_monitor-el8 b/infrastructure/docker/build/Dockerfile-traffic_monitor-el8 new file mode 100644 index 0000000000..02fbf5444a --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_monitor-el8 @@ -0,0 +1,52 @@ +# 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. +FROM centos:8 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release \ + rsync && \ + yum -y clean all + +### traffic_monitor specific requirements +RUN yum -y install \ + # gcc is necessary in case -gcflags 'all=-N -l' is passed to go build + gcc \ + git \ + rpm-build && \ + yum -y clean all + +RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \ + tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \ + ln -s /usr/local/go/bin/go /usr/bin/go && \ + rm go1.14.2.linux-amd64.tar.gz + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_monitor + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_ops-el7 b/infrastructure/docker/build/Dockerfile-traffic_ops-el7 new file mode 100644 index 0000000000..f4acf8398e --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_ops-el7 @@ -0,0 +1,56 @@ +# 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. +FROM centos:7 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release && \ + yum -y clean all + +### traffic_ops specific requirements +RUN yum -y install \ + expat-devel \ + gcc \ + git \ + libcurl-devel \ + make \ + openssl-devel \ + perl-ExtUtils-MakeMaker \ + rpm-build \ + tar && \ + yum -y clean all + +RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \ + tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \ + ln -s /usr/local/go/bin/go /usr/bin/go && \ + rm go1.14.2.linux-amd64.tar.gz + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_ops + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_ops-el8 b/infrastructure/docker/build/Dockerfile-traffic_ops-el8 new file mode 100644 index 0000000000..7113d91d72 --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_ops-el8 @@ -0,0 +1,57 @@ +# 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. +FROM centos:8 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release \ + rsync && \ + yum -y clean all + +### traffic_ops specific requirements +RUN yum -y install \ + expat-devel \ + gcc \ + git \ + libcurl-devel \ + make \ + openssl-devel \ + perl-ExtUtils-MakeMaker \ + rpm-build \ + tar && \ + yum -y clean all + +RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \ + tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \ + ln -s /usr/local/go/bin/go /usr/bin/go && \ + rm go1.14.2.linux-amd64.tar.gz + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_ops + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_portal-el7 b/infrastructure/docker/build/Dockerfile-traffic_portal-el7 new file mode 100644 index 0000000000..4049b4c9fa --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_portal-el7 @@ -0,0 +1,60 @@ +# 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. +FROM centos:7 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release && \ + yum -y clean all + +# traffic_portal specific +RUN yum -y install \ + gcc \ + git \ + libffi-devel \ + make \ + nodejs \ + npm \ + rpm-build \ + ruby-devel \ + rubygems + +RUN gem install \ + # FFI 1.13 cannot be installed with Ruby 2.0 + ffi:1.12.2 \ + rb-inotify:0.9.10 \ + compass && \ + npm -g install bower grunt-cli + +# bower will not run as root by default +RUN echo '{ "allow_root": true }' > /root/.bowerrc + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_portal + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_portal-el8 b/infrastructure/docker/build/Dockerfile-traffic_portal-el8 new file mode 100644 index 0000000000..a4c2638183 --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_portal-el8 @@ -0,0 +1,63 @@ +# 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. +FROM centos:8 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release \ + rsync && \ + yum -y clean all + +# traffic_portal specific +RUN yum -y install \ + gcc \ + git \ + libffi-devel \ + make \ + nodejs \ + npm \ + rpm-build \ + ruby-devel \ + rubygems + +RUN gem install \ + # FFI 1.13 cannot be installed with Ruby 2.0 + ffi:1.12.2 \ + rb-inotify:0.9.10 \ + compass && \ + npm -g install bower grunt-cli && \ + cd /usr/bin; ln -s /usr/local/bin/bower && \ + ln -s /usr/local/bin/grunt + +# bower will not run as root by default +RUN echo '{ "allow_root": true }' > /root/.bowerrc + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_portal + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_router-el7 b/infrastructure/docker/build/Dockerfile-traffic_router-el7 new file mode 100644 index 0000000000..af7c7b83ec --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_router-el7 @@ -0,0 +1,53 @@ +# 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. +FROM centos:7 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release && \ + yum -y clean all + +### traffic_router specific requirements +RUN yum -y install \ + which \ + curl \ + git \ + java-1.8.0-openjdk \ + java-1.8.0-openjdk-devel \ + rpm-build && \ + yum -y clean all + +ENV JAVA_HOME=/usr/lib/jvm/java +WORKDIR /opt +RUN curl -L https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.tar.gz | tar xzf - && \ + alternatives --install /usr/bin/mvn mvn /opt/apache-maven*/bin/mvn 1 + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_router + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_router-el8 b/infrastructure/docker/build/Dockerfile-traffic_router-el8 new file mode 100644 index 0000000000..a9158d1808 --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_router-el8 @@ -0,0 +1,54 @@ +# 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. +FROM centos:8 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release \ + rsync && \ + yum -y clean all + +### traffic_router specific requirements +RUN yum -y install \ + which \ + curl \ + git \ + java-1.8.0-openjdk \ + java-1.8.0-openjdk-devel \ + rpm-build && \ + yum -y clean all + +ENV JAVA_HOME=/usr/lib/jvm/java +WORKDIR /opt +RUN curl -L https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.tar.gz | tar xzf - && \ + alternatives --install /usr/bin/mvn mvn /opt/apache-maven*/bin/mvn 1 + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_router + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_stats-el7 b/infrastructure/docker/build/Dockerfile-traffic_stats-el7 new file mode 100644 index 0000000000..631960dc3e --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_stats-el7 @@ -0,0 +1,49 @@ +# 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. +FROM centos:7 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release && \ + yum -y clean all + +### traffic_stats specific requirements +RUN yum -y install \ + git \ + rpm-build && \ + yum -y clean all + +RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \ + tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \ + ln -s /usr/local/go/bin/go /usr/bin/go && \ + rm go1.14.2.linux-amd64.tar.gz + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_stats + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/Dockerfile-traffic_stats-el8 b/infrastructure/docker/build/Dockerfile-traffic_stats-el8 new file mode 100644 index 0000000000..f1d86d9f8a --- /dev/null +++ b/infrastructure/docker/build/Dockerfile-traffic_stats-el8 @@ -0,0 +1,50 @@ +# 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. +FROM centos:8 + +MAINTAINER dev@trafficcontrol.apache.org + +# top level of trafficcontrol directory must be mounted as a volume: +# docker run --volume /trafficcontrol:$(pwd) ... +VOLUME /trafficcontrol + +### Common for all sub-component builds +RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 && \ + yum -y update ca-certificates && \ + yum -y install \ + epel-release \ + rsync && \ + yum -y clean all + +### traffic_stats specific requirements +RUN yum -y install \ + git \ + rpm-build && \ + yum -y clean all + +RUN curl -LO https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \ + tar -C /usr/local -xvzf go1.14.2.linux-amd64.tar.gz && \ + ln -s /usr/local/go/bin/go /usr/bin/go && \ + rm go1.14.2.linux-amd64.tar.gz + +### + +ADD infrastructure/docker/build/clean_build.sh / +CMD /clean_build.sh traffic_stats + +# vi:syntax=Dockerfile diff --git a/infrastructure/docker/build/docker-compose-combo.yml b/infrastructure/docker/build/docker-compose-combo.yml new file mode 100644 index 0000000000..bb2e6c799c --- /dev/null +++ b/infrastructure/docker/build/docker-compose-combo.yml @@ -0,0 +1,98 @@ +# 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: '2' + +services: + source: + image: trafficcontrol_tarball + build: + dockerfile: infrastructure/docker/build/Dockerfile-source + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + traffic_monitor_build: + image: traffic_monitor_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-traffic_monitor-${COS_VERSION} + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + traffic_ops_build: + image: traffic_ops_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-traffic_ops-${COS_VERSION} + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + traffic_portal_build: + image: traffic_portal_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-traffic_portal-${COS_VERSION} + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + traffic_router_build: + image: traffic_router_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-traffic_router-${COS_VERSION} + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + - ../../../.m2:/root/.m2:z + + traffic_stats_build: + image: traffic_stats_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-traffic_stats-${COS_VERSION} + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + grove_build: + image: grove_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-grove + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + grovetccfg_build: + image: grovetccfg_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-grovetccfg + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z + + weasel: + image: licenseweasel/weasel:0.2 + volumes: + - ../../..:/trafficcontrol:z + command: ['-f', '/trafficcontrol/dist/weasel.txt', '/trafficcontrol'] + + docs: + image: docs_builder + build: + dockerfile: infrastructure/docker/build/Dockerfile-docs + context: ../../.. + volumes: + - ../../..:/trafficcontrol:z