Use alpine:latest image in Dockerfile

This commit is contained in:
Sijawusz Pur Rahnama 2021-03-06 13:37:05 +01:00 committed by Vitalii Elenhaupt
parent d8c32f0045
commit c1deb8ab73
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0

View file

@ -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 mkdir /ameba
WORKDIR /ameba
COPY . /ameba/
RUN make clean && make
FROM alpine:3.12
FROM alpine:latest
RUN apk add --update openssl yaml pcre gc libevent libgcc
RUN mkdir /src
WORKDIR /src