Browse Source

Remove OS variables

Artem Smirnov 7 months ago
parent
commit
d7893e82aa
1 changed files with 2 additions and 8 deletions
  1. 2
    8
      Dockerfile

+ 2
- 8
Dockerfile View File

@@ -14,24 +14,18 @@
14 14
 # limitations under the License.
15 15
 
16 16
 FROM ubuntu:trusty
17
-#FROM debian:jessie
18 17
 
19 18
 LABEL maintainer="urpylka@gmail.com"
20 19
 
21 20
 ENV DEBIAN_FRONTEND noninteractive
22 21
 
23
-ENV DIST=ubuntu
24
-ENV RELEASE=trusty
25
-#ENV DIST=debian
26
-#ENV RELEASE=jessie
27
-
28 22
 # Add Aptly repository
29 23
 RUN echo "deb http://repo.aptly.info/ squeeze main" > /etc/apt/sources.list.d/aptly.list
30 24
 RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C
31 25
 
32 26
 # Add Nginx repository
33
-RUN echo "deb http://nginx.org/packages/$DIST/ $RELEASE nginx" > /etc/apt/sources.list.d/nginx.list
34
-RUN echo "deb-src http://nginx.org/packages/$DIST/ $RELEASE nginx" >> /etc/apt/sources.list.d/nginx.list
27
+RUN echo "deb http://nginx.org/packages/ubuntu/ trusty nginx" > /etc/apt/sources.list.d/nginx.list
28
+RUN echo "deb-src http://nginx.org/packages/ubuntu/ trusty nginx" >> /etc/apt/sources.list.d/nginx.list
35 29
 RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
36 30
 
37 31
 # Update APT repository and install packages

Loading…
Cancel
Save