mozilla-pipeline-schemas/Dockerfile

45 строки
1.1 KiB
Docker

FROM centos:centos7
LABEL maintainer="Firefox Data Platform"
# Install the appropriate software
RUN yum -y update && \
yum -y install epel-release && \
yum -y install \
cmake3 \
gcc \
gcc-c++ \
jq \
make \
wget \
python-pip \
&& yum clean all
RUN pip install jsonschema
WORKDIR /downloads
# Install hindsight and the luasandbox
RUN wget -qO- https://s3-us-west-2.amazonaws.com/net-mozaws-data-us-west-2-ops-ci-artifacts/mozilla-services/lua_sandbox_extensions/master/centos7/all.tgz | tar xvz
RUN wget https://s3-us-west-2.amazonaws.com/net-mozaws-data-us-west-2-ops-ci-artifacts/mozilla-services/lua_sandbox_extensions/external/centos7/parquet-cpp-1.3.1-1.x86_64.rpm
RUN yum -y install \
hindsight-0* \
luasandbox-1* \
luasandbox-cjson* \
luasandbox-lfs* \
luasandbox-lpeg* \
luasandbox-parquet* \
luasandbox-rjson* \
parquet-cpp* \
&& yum clean all
COPY . /app
RUN rm -fr release/; mkdir release/
WORKDIR /app/release
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake; cmake ..; make
CMD ctest3 -V -C hindsight