Browse Source

Update

tags/v0.0.28
Peter Vivell 6 years ago
parent
commit
42e3a359db
2 changed files with 19 additions and 1 deletions
  1. 18
    0
      Dockerfile.heredoc
  2. 1
    1
      drone.yml

+ 18
- 0
Dockerfile.heredoc View File

@@ -0,0 +1,18 @@
1
+FROM debian:stable-slim
2
+MAINTAINER Drone CI/CD
3
+
4
+ARG HTTP_PROXY
5
+RUN echo '\
6
+      Acquire::http  { Proxy "'${HTTP_PROXY}'"; } \n\
7
+      Acquire::https { Proxy "https://"; }; \n\
8
+'   >> /etc/apt/apt.conf.d/01-proxy
9
+
10
+RUN ls -l /etc/apt/apt.conf.d/01-proxy
11
+RUN cat /etc/apt/apt.conf.d/01-proxy
12
+
13
+ARG BUILDDEPS
14
+RUN apt-get update && \
15
+    apt-get --yes upgrade && \
16
+    apt-get --yes install ${BUILDDEPS}
17
+
18
+ENTRYPOINT ["/bin/bash", "-c"]

+ 1
- 1
drone.yml View File

@@ -22,7 +22,7 @@ steps:
22 22
 - name: prepare
23 23
   image: plugins/docker
24 24
   settings:
25
-    dry_run: true
25
+    dry_run: false
26 26
     registry: reg.unino.de
27 27
     insecure: false
28 28
     #auth: authtoken

Loading…
Cancel
Save