mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Use make to build ameba in docker, add installation info
This commit is contained in:
parent
970d341ea0
commit
bbb0cf51e7
3 changed files with 19 additions and 9 deletions
|
@ -1,9 +1,9 @@
|
|||
FROM alpine:3.8 as builder
|
||||
RUN apk add --update crystal shards openssl-dev yaml-dev libxml2-dev musl-dev
|
||||
RUN apk add --update crystal shards openssl-dev yaml-dev musl-dev make
|
||||
RUN mkdir /ameba
|
||||
WORKDIR /ameba
|
||||
COPY . /ameba/
|
||||
RUN shards build --release
|
||||
RUN make clean && make
|
||||
|
||||
FROM alpine:3.8
|
||||
RUN apk add --update openssl yaml pcre gc libevent libgcc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue