Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
FROM registry.gitlab.com/rirvm/rir_mirror/dockerhub_mirror/ubuntu:20.04
ARG CI_COMMIT_SHA
ADD . /opt/rir
ENV LANG en_US.UTF-8
RUN echo $CI_COMMIT_SHA > /opt/rir_version && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq curl git gcc gfortran g++ libreadline-dev libx11-dev libxt-dev zlib1g-dev libbz2-dev liblzma-dev libpcre3-dev libcurl4-openssl-dev libcairo2-dev make libreadline8 libncurses-dev xz-utils cmake tcl-dev tk-dev locales rsync && \
locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 && \
cd /opt/rir && \
tools/build-gnur.sh && \
rm -rf external/custom-r/cache_recommended.tar .git && \
find external -type f -name '*.o' -exec rm -f {} \; && \
apt-get clean
RUN mkdir -p /opt/rir/build/release && \
cd /opt/rir && \
(curl 10.200.14.25:8080/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz > external/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz || true) && \
tools/fetch-llvm.sh && \
cd /opt/rir/build/release && \
cmake -DCMAKE_BUILD_TYPE=release ../.. && \
make -j8 && \
rm -rf CMakeFiles /opt/rir/external/clang+llvm*