Skip to content

Commit

Permalink
cleanup dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwenxi committed Feb 18, 2021
1 parent d980330 commit 8b0205d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Expand Up @@ -3,11 +3,6 @@
#
FROM golang:1.15.5-alpine3.12 as builder

# this comes from standard alpine nightly file
# https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile
# with some changes to support our toolchain, etc
RUN set -eux; apk add --no-cache ca-certificates build-base;

# Set up dependencies
ENV PACKAGES make gcc git libc-dev bash linux-headers eudev-dev

Expand All @@ -19,7 +14,7 @@ COPY . .
# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

RUN BUILD_TAGS=muslc make build
RUN make build

# ----------------------------

Expand Down

0 comments on commit 8b0205d

Please sign in to comment.