Commit 09c1f656 authored by jan.koester's avatar jan.koester
Browse files

test

parent f70d3674
Loading
Loading
Loading
Loading
Loading
+7 −18
Changes for Dockerfile: 7 added lines, 18 removed lines.
Original line number Diff line number Diff line
FROM node:alpine AS build
WORKDIR /build/alpine

# Pin each dependency to a known-good commit so staleness shows up as a diff
# here instead of being silently frozen in Docker's layer cache. Bump these
# when a fix in the corresponding repo needs to land in authdb's image.
ARG LIBCMDPLUS_REF=ea1158a
ARG UUIDPLUS_REF=0247530
ARG LIBNETPLUS_REF=b83b011
ARG LIBHTMLPP_REF=4822230
ARG LIBHTTPPP_REF=2d61263
ARG LIBCONFPLUS_REF=7358946
ARG LIBPARITYPP_REF=ee6f38b

RUN apk update --no-cache  && apk upgrade --no-cache
RUN apk add --no-cache cmake ninja clang alpine-sdk lua-aports sudo openssh-keygen fakeroot openssh-client yaml-dev brotli-dev json-c-dev util-linux-dev

RUN git clone https://tuxist.de/git/jan.koester/libcmdplus.git && \
    cd libcmdplus && git checkout ${LIBCMDPLUS_REF} && cd ..
    cd libcmdplus && cd ..
RUN mkdir libcmdplus/build
RUN cd libcmdplus/build && cmake ../ -G Ninja -DCMAKE_CXX_FLAGS="-fPIC" && ninja install

RUN git clone https://tuxist.de/git/tuxist/uuidplus.git && \
    cd uuidplus && git checkout ${UUIDPLUS_REF} && cd ..
    cd uuidplus && cd ..
RUN mkdir uuidplus/build
RUN cd uuidplus/build && cmake ../ -G Ninja && ninja install

RUN git clone https://tuxist.de/git/jan.koester/libnetplus.git && \
    cd libnetplus && git checkout ${LIBNETPLUS_REF} && cd ..
    cd libnetplus && cd ..
RUN mkdir libnetplus/build
RUN cd libnetplus/build && cmake ../ -G Ninja && ninja install

RUN git clone https://tuxist.de/git/jan.koester/libhtmlpp.git && \
    cd libhtmlpp && git checkout ${LIBHTMLPP_REF} && cd ..
    cd libhtmlpp && cd ..
RUN mkdir libhtmlpp/build
RUN cd libhtmlpp/build && cmake ../ -G Ninja && ninja install

RUN git clone https://tuxist.de/git/jan.koester/libhttppp.git && \
    cd libhttppp && git checkout ${LIBHTTPPP_REF} && cd ..
    cd libhttppp && cd ..
RUN mkdir libhttppp/build
RUN cd libhttppp/build && cmake ../ -G Ninja && ninja install

RUN git clone https://tuxist.de/git/jan.koester/libconfplus.git && \
    cd libconfplus && git checkout ${LIBCONFPLUS_REF} && cd ..
    cd libconfplus && cd ..
RUN mkdir libconfplus/build
RUN cd libconfplus/build && cmake ../ -G Ninja -DCMAKE_CXX_FLAGS="-fPIC" && ninja install

RUN git clone https://tuxist.de/git/tuxist/libparitypp.git && \
    cd libparitypp && git checkout ${LIBPARITYPP_REF} && cd .. && \
    cd libparitypp && cd .. && \
    mkdir libparitypp/build && \
    cd libparitypp/build && cmake ../ -G Ninja && ninja install