We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd581e6 commit e1a76ceCopy full SHA for e1a76ce
99fixbadproxy
@@ -0,0 +1,3 @@
1
+Acquire::http::Pipeline-Depth 0;
2
+Acquire::http::No-Cache true;
3
+Acquire::BrokenProxy true;
Dockerfile
@@ -1,8 +1,15 @@
FROM node:6.11.3
-RUN mkdir -p /data/app/bin && mkdir -p /data/app/scripts
+RUN mkdir -p /data/app/bin && \
4
+ mkdir -p /data/app/scripts && \
5
+ mkdir -p /etc/apt/apt.conf.d
6
-RUN apt-get -y update
7
+# If apt-get update fails and you are behind a proxy,
8
+# you can try uncommenting the next line to fix it.
9
+#ADD ./99fixbadproxy /etc/apt/apt.conf.d/99fixbadproxy
10
+
11
+RUN apt-get -y update && \
12
+ apt-get -y upgrade
13
14
ADD ./bin /data/app/bin
15
ADD ./scripts /data/app/scripts
0 commit comments