mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Merge pull request #369 from daliborfilus/fix-crystal-1.8-pcre2-docker-build
Update Dockerfile for Crystal 1.8 + check if binary works
This commit is contained in:
commit
149080ae16
1 changed files with 2 additions and 1 deletions
|
@ -6,8 +6,9 @@ COPY . /ameba/
|
||||||
RUN make clean && make
|
RUN make clean && make
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add --update yaml pcre gc libevent libgcc
|
RUN apk add --update yaml pcre2 gc libevent libgcc
|
||||||
RUN mkdir /src
|
RUN mkdir /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY --from=builder /ameba/bin/ameba /usr/bin/
|
COPY --from=builder /ameba/bin/ameba /usr/bin/
|
||||||
|
RUN ameba -v
|
||||||
ENTRYPOINT [ "/usr/bin/ameba" ]
|
ENTRYPOINT [ "/usr/bin/ameba" ]
|
||||||
|
|
Loading…
Reference in a new issue