init
This commit is contained in:
32
Dockerfile
Normal file
32
Dockerfile
Normal file
@ -0,0 +1,32 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk update
|
||||
|
||||
RUN apk add alpine-sdk
|
||||
|
||||
# Install microhttpd
|
||||
RUN apk add autoconf automake libtool pkgconf git texinfo
|
||||
|
||||
WORKDIR /root
|
||||
RUN git clone https://git.gnunet.org/libmicrohttpd.git
|
||||
WORKDIR /root/libmicrohttpd
|
||||
RUN ./bootstrap
|
||||
RUN ./configure
|
||||
RUN make
|
||||
RUN make install
|
||||
|
||||
# Compile code
|
||||
RUN apk add sqlite-dev argon2-dev libsodium-dev curl-dev xxd
|
||||
|
||||
RUN git clone https://git.sr.ht/~kikoodx/betterboxd /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./build.sh .
|
||||
|
||||
RUN ./build.sh
|
||||
|
||||
COPY ./docker-run.sh .
|
||||
COPY ./initdb.sh .
|
||||
|
||||
ENTRYPOINT ["sh", "/app/docker-run.sh"]
|
Reference in New Issue
Block a user