Przeglądaj źródła

Update

tags/v0.0.36
Peter Vivell 6 lat temu
rodzic
commit
4581ae60d1
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 3
    3
      Dockerfile
  2. 1
    1
      drone.yml

+ 3
- 3
Dockerfile Wyświetl plik

@@ -3,10 +3,10 @@ FROM debian:stable-slim
3 3
 RUN apt-get update && \
4 4
     apt-get --yes upgrade && \
5 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 7
     . /etc/profile
8 8
 
9 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 Wyświetl plik

@@ -40,7 +40,7 @@ steps:
40 40
     tags: [ latest ]
41 41
     build_args:
42 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 46
 - name: build

Ładowanie…
Anuluj
Zapisz