From c29196eee74859aa283ee36bb2649c81aee8fc6a Mon Sep 17 00:00:00 2001 From: Alexey Kazakov Date: Thu, 13 Dec 2018 17:42:13 -0800 Subject: [PATCH] Switch build to epel release --- Dockerfile.builder | 8 ++++---- Makefile | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile.builder b/Dockerfile.builder index ad1cac3..05c72a3 100644 --- a/Dockerfile.builder +++ b/Dockerfile.builder @@ -5,8 +5,8 @@ ENV LANG=en_US.utf8 ARG USE_GO_VERSION_FROM_WEBSITE=0 # Some packages might seem weird but they are required by the RVM installer. -RUN yum install epel-release --enablerepo=extras -y \ - && yum --enablerepo=centosplus --enablerepo=epel-testing install -y \ +RUN yum install epel-release -y \ + && yum --enablerepo=centosplus --enablerepo=epel install -y \ findutils \ git \ $(test "$USE_GO_VERSION_FROM_WEBSITE" != 1 && echo "golang") \ @@ -30,8 +30,8 @@ ENV PATH=$PATH:/usr/local/go/bin ENV GOPATH /tmp/go RUN mkdir -p $GOPATH/bin && chmod a+rwx $GOPATH RUN cd $GOPATH/bin \ - curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o dep \ - echo "31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315 dep" > dep-linux-amd64.sha256 \ + curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o dep \ + echo "287b08291e14f1fae8ba44374b26a2b12eb941af3497ed0ca649253e21ba2f83 dep" > dep-linux-amd64.sha256 \ sha256sum -c dep-linux-amd64.sha256 ENTRYPOINT ["/bin/bash"] diff --git a/Makefile b/Makefile index 1d742a5..d1c16cf 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ GIT_BIN := $(shell command -v $(GIT_BIN_NAME) 2> /dev/null) DEP_BIN_NAME := dep DEP_BIN_DIR := ./tmp/bin DEP_BIN := $(DEP_BIN_DIR)/$(DEP_BIN_NAME) -DEP_VERSION=v0.4.1 +DEP_VERSION=v0.5.0 GO_BIN := $(shell command -v $(GO_BIN_NAME) 2> /dev/null) DOCKER_BIN := $(shell command -v $(DOCKER_BIN_NAME) 2> /dev/null) @@ -115,12 +115,12 @@ $(DEP_BIN): ifeq ($(UNAME_S),Darwin) @curl -L -s https://github.com/golang/dep/releases/download/$(DEP_VERSION)/dep-darwin-amd64 -o $(DEP_BIN) @cd $(DEP_BIN_DIR) && \ - echo "1544afdd4d543574ef8eabed343d683f7211202a65380f8b32035d07ce0c45ef dep" > dep-darwin-amd64.sha256 && \ + echo "1a7bdb0d6c31ecba8b3fd213a1170adf707657123e89dff234871af9e0498be2 dep" > dep-darwin-amd64.sha256 && \ shasum -a 256 --check dep-darwin-amd64.sha256 else @curl -L -s https://github.com/golang/dep/releases/download/$(DEP_VERSION)/dep-linux-amd64 -o $(DEP_BIN) @cd $(DEP_BIN_DIR) && \ - echo "31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315 dep" > dep-linux-amd64.sha256 && \ + echo "287b08291e14f1fae8ba44374b26a2b12eb941af3497ed0ca649253e21ba2f83 dep" > dep-linux-amd64.sha256 && \ sha256sum -c dep-linux-amd64.sha256 endif @chmod +x $(DEP_BIN)