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:
parent
95a601d053
commit
59f6931e06
@ -1,11 +1,11 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:edge
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
# install tools and dependencies
|
# install tools and dependencies
|
||||||
RUN apk add --no-cache gcc musl-dev openssl-dev pkgconfig g++ make curl \
|
RUN apk add --no-cache gcc musl-dev pkgconfig g++ make curl \
|
||||||
eudev-dev rust cargo git file binutils libusb-dev \
|
eudev-dev rust cargo git file binutils \
|
||||||
linux-headers
|
libusb-dev linux-headers perl
|
||||||
|
|
||||||
# show backtraces
|
# show backtraces
|
||||||
ENV RUST_BACKTRACE 1
|
ENV RUST_BACKTRACE 1
|
||||||
|
Loading…
Reference in New Issue
Block a user