docker: Fix alpine build (#8878)

- Switch to alpine edge for recent rustc version
- Remove openssl libs
- Add perl (needed for building ring)
This commit is contained in:
André Silva 2018-06-13 08:29:23 +01:00 committed by Afri Schoedon
parent 95a601d053
commit 59f6931e06

View File

@ -1,11 +1,11 @@
FROM alpine:3.7
FROM alpine:edge
WORKDIR /build
# install tools and dependencies
RUN apk add --no-cache gcc musl-dev openssl-dev pkgconfig g++ make curl \
eudev-dev rust cargo git file binutils libusb-dev \
linux-headers
RUN apk add --no-cache gcc musl-dev pkgconfig g++ make curl \
eudev-dev rust cargo git file binutils \
libusb-dev linux-headers perl
# show backtraces
ENV RUST_BACKTRACE 1