ocket8888 commented on a change in pull request #5298: URL: https://github.com/apache/trafficcontrol/pull/5298#discussion_r564885469
########## File path: traffic_ops_ort/testing/docker/ort_test/Dockerfile ########## @@ -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. +############################################################ +# Dockerfile to build Traffic Server container images +# as Edges for Traffic Control 1.4 +# Based on CentOS 6.6 +############################################################ + +# For cache, you may either use (RAM or disk) block devices or disk directories +# To use RAM block devices, pass them as /dev/ram0 and /dev/ram1 via `docker run --device` +# To use disk directories, simply don't pass devices, and the container will configure Traffic Server for directories + +# Block devices may be created on the native machine with, for example, `modprobe brd`. +# The recommended minimum size for each block devices is 1G. +# For example, `sudo modprobe brd rd_size=1048576 rd_nr=2` + +FROM centos:7 +MAINTAINER [email protected] + +RUN yum install -y epel-release # needed for perl-Crypt-ScryptKDF +RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm +RUN yum install -y initscripts +RUN yum install -y postgresql96.x86_64 +RUN yum install -y git +RUN yum install -y gcc +RUN yum install -y lua-5.1.4-15.el7 +RUN yum install -y lua-devel-5.1.4-15.el7 Review comment: well at any rate it's being discussed below ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
