Update ldc installation repo for alpine (#814)

* Ldc has moved from alpine-linux testing repo to the community repo.
This commit is contained in:
nrandon 2020-03-06 22:34:14 +00:00 committed by GitHub
parent 1bb4ed765c
commit 63ce6a7d10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# -*-Dockerfile-*-
FROM golang:alpine
RUN apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
RUN apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/community \
alpine-sdk llvm5 gnupg xz curl-dev sqlite-dev binutils-gold \
autoconf automake ldc
RUN go get github.com/tianon/gosu
@ -14,7 +14,7 @@ RUN cd /usr/src/onedrive/ && \
FROM alpine
ENTRYPOINT ["/entrypoint.sh"]
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community \
bash libcurl libgcc shadow sqlite-libs ldc-runtime && \
mkdir -p /onedrive/conf /onedrive/data
COPY contrib/docker/entrypoint.sh /