Use ubuntu-slim image

This commit is contained in:
Manuel de Brito Fontes 2016-03-01 11:49:46 -03:00
parent 5a0ce3b06b
commit 99b4546311
4 changed files with 8 additions and 5 deletions

View file

@ -13,7 +13,7 @@
# limitations under the License.
FROM gcr.io/google_containers/debian-slim:0.1
FROM gcr.io/google_containers/ubuntu-slim:0.1
MAINTAINER Prashanth B <beeps@google.com>
RUN apt-get update && apt-get install -y --no-install-recommends \

View file

@ -13,7 +13,7 @@
# limitations under the License.
FROM gcr.io/google_containers/debian-slim:0.1
FROM gcr.io/google_containers/ubuntu-slim:0.1
COPY build.sh /tmp

View file

@ -62,7 +62,7 @@ apt-get update && apt-get install --no-install-recommends -y \
luajit \
openssl \
libluajit-5.1-dev \
linux-headers-amd64
linux-headers-generic
# download, verify and extract the source files
get_src 1af2eb956910ed4b11aaf525a81bc37e135907e7127948f9179f5410337da042 \
@ -162,13 +162,16 @@ apt-mark unmarkauto \
apt-get remove -y --purge \
build-essential \
gcc-5 \
cpp-5 \
libgeoip-dev \
libpcre3-dev \
libssl-dev \
zlib1g-dev \
libaio-dev \
libluajit-5.1-dev \
linux-headers-amd64
linux-libc-dev \
linux-headers-generic
apt-get autoremove -y

View file

@ -29,6 +29,6 @@ spec:
spec:
containers:
- name: nginxslim
image: gcr.io/google_containers/nginx-slim:0.3
image: gcr.io/google_containers/nginx-slim:0.4
ports:
- containerPort: 80