Browse Source

Update

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

+ 3
- 3
Dockerfile View File

3
 RUN apt-get update && \
3
 RUN apt-get update && \
4
     apt-get --yes upgrade && \
4
     apt-get --yes upgrade && \
5
     apt-get --yes install iproute2 ; \
5
     apt-get --yes install iproute2 ; \
6
-    echo 'export http_proxy=$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142' >> /etc/profile ; \
6
+    echo 'export http_proxy=http://$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142/' >> /etc/profile ; \
7
     . /etc/profile
7
     . /etc/profile
8
 
8
 
9
 ARG BUILDDEPS
9
 ARG BUILDDEPS
10
-RUN apt-get --yes install ${BUILDDEPS}
10
+RUN apt-get --yes install build-essential ca-certificates curl git ${BUILDDEPS}
11
 
11
 
12
-ENTRYPOINT ["/bin/sh", "-c", "#(nop)"]
12
+CMD ["bash"]

+ 1
- 1
drone.yml View File

40
     tags: [ latest ]
40
     tags: [ latest ]
41
     build_args:
41
     build_args:
42
       - MAINTAINER=Drone CI/CD
42
       - MAINTAINER=Drone CI/CD
43
-      - BUILDDEPS=build-essential libc6-dev libhidapi-dev libssl-dev zip
43
+      - BUILDDEPS=libhidapi-dev libssl-dev zip
44
 
44
 
45
 
45
 
46
 - name: build
46
 - name: build

Loading…
Cancel
Save