Commit e8cbcb6b authored by Haakon Andre Reme-Ness's avatar Haakon Andre Reme-Ness
Browse files

Distro changed to centos 7

parent ea4776cd
Pipeline #3283723 failed with stage
in 11 seconds
FROM ubuntu:18.04
COPY docker-setup.sh /
ENV JAVA_HOME='/usr/lib/jvm/java-11-oracle'
RUN /bin/bash docker-setup.sh;
# Fix systemd-resolved problem
apt update;
# setup MySQL
apt-get install -y debconf-utils;
{ \
echo mysql-community-server mysql-community-server/root-pass password ''; \
echo mysql-community-server mysql-community-server/re-root-pass password ''; \
} | debconf-set-selections \
&& apt install -y mysql-server
# Install dependencies
export DEBIAN_FRONTEND=noninteractive
export LC_ALL=C
apt install -y openjdk-11-jdk python3 python3-pip git slapd ldap-utils rsync vim tmux entr less cmake zlib1g-dev uuid uuid-dev libssl-dev
# Install XRootD
apt install -y wget
wget https://xrootd.slac.stanford.edu/download/v4.12.1/xrootd-4.12.1.tar.gz
tar xvzf xrootd-4.12.1.tar.gz
mkdir /build && cd /build
cmake /xrootd-4.12.1 -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_PERL=FALSE
make && make install
cd /
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment