Browse Source

Updat

tags/v0.0.28
Peter Vivell 6 years ago
parent
commit
6c0a5f802b
2 changed files with 4 additions and 3 deletions
  1. 3
    2
      Dockerfile
  2. 1
    1
      drone.yml

+ 3
- 2
Dockerfile View File

@@ -1,7 +1,8 @@
1 1
 FROM debian:stable-slim
2
-MAINTAINER Drone CI/CD
2
+ARG MAINTAINER
3
+MAINTAINER ${MAINTAINER}
3 4
 
4
-RUN echo 'http_proxy=$(ip route show default | cut -d' ' -f3)' >> /etc/profile
5
+RUN echo 'export http_proxy=$(ip route show default | cut -d' ' -f3):3142' >> /etc/profile
5 6
 
6 7
 ARG BUILDDEPS
7 8
 RUN apt-get update && \

+ 1
- 1
drone.yml View File

@@ -49,7 +49,7 @@ steps:
49 49
     tags:
50 50
       - latest
51 51
     build_args:
52
-      - HTTP_PROXY=http://999.172.17.0.1:3142
52
+      - MAINTAINER=Drone CI/CD
53 53
       - BUILDDEPS=build-essential libc6-dev libhidapi-dev libssl-dev zip
54 54
 
55 55
 

Loading…
Cancel
Save