Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mac2 committed Jan 11, 2019
1 parent da87223 commit 067e3d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:stretch-slim
FROM ubuntu:cosmic

LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"

ENV NGINX_VERSION 1.15.8-1~stretch
ENV NJS_VERSION 1.15.8.0.2.7-1~stretch
ENV NGINX_VERSION 1.15.8-1~cosmic
ENV NJS_VERSION 1.15.8.0.2.7-1~cosmic

RUN set -x \
&& apt-get update \
Expand Down Expand Up @@ -33,13 +33,13 @@ RUN set -x \
&& case "$dpkgArch" in \
amd64|i386) \
# arches officialy built by upstream
echo "deb https://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list.d/nginx.list \
echo "deb https://nginx.org/packages/mainline/ubuntu/ cosmic nginx" >> /etc/apt/sources.list.d/nginx.list \
&& apt-get update \
;; \
*) \
# we're on an architecture upstream doesn't officially build for
# let's build binaries from the published source packages
echo "deb-src https://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list.d/nginx.list \
echo "deb-src https://nginx.org/packages/mainline/ubuntu/ cosmic nginx" >> /etc/apt/sources.list.d/nginx.list \
\
# new directory for storing sources and .deb files
&& tempDir="$(mktemp -d)" \
Expand Down

0 comments on commit 067e3d5

Please sign in to comment.