Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 8211c71

Browse files
committed
Fix for new download URL
1 parent ff56871 commit 8211c71

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM alpine:3.6 AS wget
22
RUN apk add --no-cache ca-certificates wget tar
33

44
FROM wget AS docker
5-
ARG DOCKER_VERSION=17.04.0-ce
6-
RUN wget -qO- https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz | \
5+
ARG DOCKER_VERSION=17.09.0-ce
6+
RUN wget -qO- https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | \
77
tar -xvz --strip-components=1 -C /bin
88

99
FROM wget AS cuberite
@@ -18,6 +18,8 @@ COPY . .
1818
RUN go install
1919

2020
FROM debian:jessie
21+
RUN apt-get update
22+
RUN apt-get install -y ca-certificates
2123
COPY --from=dockercraft /go/bin/dockercraft /bin
2224
COPY --from=docker /bin/docker /bin
2325
COPY --from=cuberite /srv /srv

setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
const (
17-
downloadURL = "https://get.docker.com/builds/Linux/x86_64/docker-"
17+
downloadURL = "https://download.docker.com/linux/static/stable/x86_64/docker-"
1818
rcDownloadURL = "https://test.docker.com/builds/Linux/x86_64/docker-"
1919
)
2020

0 commit comments

Comments
 (0)