Commit c8d83027 authored by jan.koester's avatar jan.koester
Browse files

docker builds

parent 8bb2cc67
Loading
Loading
Loading
Loading
Loading
+6 −4
Changes for Dockerfile: 6 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ FROM node:alpine AS build
WORKDIR /build/alpine

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
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://git.tuxist.de/git/jan.koester/libcmdplus.git
RUN mkdir libcmdplus/build
@@ -37,12 +37,14 @@ RUN apk add --no-cache yaml brotli openssl json-c libuuid libstdc++
RUN mkdir /etc/authdb
RUN mkdir /usr/local/share/authdb

COPY data/* /usr/local/share/authdb
COPY data/*.html /usr/local/share/authdb
COPY data/*.js /usr/local/share/authdb
COPY data/*.css /usr/local/share/authdb

COPY --from=build /usr/local/bin/authdb /usr/local/bin/authdn
COPY --from=build /usr/local/bin/authdb /usr/local/bin
COPY --from=build /usr/local/lib /usr/local/lib

COPY config.yaml /etc/authdb
COPY data/config.yaml /etc/authdb

CMD ["authdb","-c","yaml://etc/authdb/config.yaml"]
+4 −0
Changes for src/authdb.cpp: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -444,6 +444,10 @@ VALUEFOUND:
    }
};

void runWizzard(){

}

int main(int argc, char *argv[]){
    cmdplus::CmdController &cmd=cmdplus::CmdController::getInstance();