Upgrade alpine img

refs #166
This commit is contained in:
Vitalii Elenhaupt 2020-08-26 22:42:29 +03:00
parent b5bd76dfa8
commit 5ee54293a8
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0

View file

@ -1,11 +1,11 @@
FROM alpine:3.8 as builder
FROM alpine:3.12 as builder
RUN apk add --update crystal shards openssl-dev yaml-dev musl-dev make
RUN mkdir /ameba
WORKDIR /ameba
COPY . /ameba/
RUN make clean && make
FROM alpine:3.8
FROM alpine:3.12
RUN apk add --update openssl yaml pcre gc libevent libgcc
RUN mkdir /src
WORKDIR /src