Compare commits

..

1 Commits

Author SHA1 Message Date
e06296d69a
switch to debian:buster slim and install make
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-27 18:39:41 -08:00
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ steps:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
commands: commands:
- apt-get update && apt install -y --no-install-recommends curl make ca-certificates git - apt-get update && apt install -y --no-install-recommends curl make ca-certificates
- curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-$${DOCKERVERSION}.tgz - curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-$${DOCKERVERSION}.tgz
- tar xzvf docker-$${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker - tar xzvf docker-$${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker
- rm docker-$${DOCKERVERSION}.tgz - rm docker-$${DOCKERVERSION}.tgz

View File

@ -137,6 +137,7 @@ go-build: $(BUILD_DIRS)
@mkdir -p "$$(pwd)/.go/bin/$(OS)_$(ARCH)" @mkdir -p "$$(pwd)/.go/bin/$(OS)_$(ARCH)"
@chmod $(BINDIRMODE) "$$(pwd)/.go/bin/$(OS)_$(ARCH)" @chmod $(BINDIRMODE) "$$(pwd)/.go/bin/$(OS)_$(ARCH)"
@docker run \ @docker run \
-i \
--rm \ --rm \
-u $$(id -u):$$(id -g) \ -u $$(id -u):$$(id -g) \
-v $$(pwd):/src \ -v $$(pwd):/src \