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
 FROM debian:stable-slim
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
 ARG BUILDDEPS
7
 ARG BUILDDEPS
7
 RUN apt-get update && \
8
 RUN apt-get update && \

+ 1
- 1
drone.yml View File

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

Loading…
Cancel
Save