Skip to content

Commit

Permalink
docker: Fix alpine build (#8878)
Browse files Browse the repository at this point in the history
- Switch to alpine edge for recent rustc version
- Remove openssl libs
- Add perl (needed for building ring)
  • Loading branch information
andresilva authored and tavakyan committed Jun 14, 2018
1 parent c68197a commit f9cb0a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f9cb0a8

Please sign in to comment.