mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Use alpine:latest image in Dockerfile
This commit is contained in:
parent
d8c32f0045
commit
c1deb8ab73
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
FROM alpine:3.12 as builder
|
FROM alpine:latest as builder
|
||||||
RUN apk add --update crystal shards openssl-dev yaml-dev musl-dev make
|
RUN apk add --update crystal shards openssl-dev yaml-dev musl-dev make
|
||||||
RUN mkdir /ameba
|
RUN mkdir /ameba
|
||||||
WORKDIR /ameba
|
WORKDIR /ameba
|
||||||
COPY . /ameba/
|
COPY . /ameba/
|
||||||
RUN make clean && make
|
RUN make clean && make
|
||||||
|
|
||||||
FROM alpine:3.12
|
FROM alpine:latest
|
||||||
RUN apk add --update openssl yaml pcre gc libevent libgcc
|
RUN apk add --update openssl yaml pcre gc libevent libgcc
|
||||||
RUN mkdir /src
|
RUN mkdir /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue