Use ubuntu-slim image
This commit is contained in:
parent
5a0ce3b06b
commit
99b4546311
4 changed files with 8 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# 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>
|
MAINTAINER Prashanth B <beeps@google.com>
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# 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
|
COPY build.sh /tmp
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ apt-get update && apt-get install --no-install-recommends -y \
|
||||||
luajit \
|
luajit \
|
||||||
openssl \
|
openssl \
|
||||||
libluajit-5.1-dev \
|
libluajit-5.1-dev \
|
||||||
linux-headers-amd64
|
linux-headers-generic
|
||||||
|
|
||||||
# download, verify and extract the source files
|
# download, verify and extract the source files
|
||||||
get_src 1af2eb956910ed4b11aaf525a81bc37e135907e7127948f9179f5410337da042 \
|
get_src 1af2eb956910ed4b11aaf525a81bc37e135907e7127948f9179f5410337da042 \
|
||||||
|
@ -162,13 +162,16 @@ apt-mark unmarkauto \
|
||||||
|
|
||||||
apt-get remove -y --purge \
|
apt-get remove -y --purge \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
gcc-5 \
|
||||||
|
cpp-5 \
|
||||||
libgeoip-dev \
|
libgeoip-dev \
|
||||||
libpcre3-dev \
|
libpcre3-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libluajit-5.1-dev \
|
libluajit-5.1-dev \
|
||||||
linux-headers-amd64
|
linux-libc-dev \
|
||||||
|
linux-headers-generic
|
||||||
|
|
||||||
apt-get autoremove -y
|
apt-get autoremove -y
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,6 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: nginxslim
|
- name: nginxslim
|
||||||
image: gcr.io/google_containers/nginx-slim:0.3
|
image: gcr.io/google_containers/nginx-slim:0.4
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
|
|
Loading…
Reference in a new issue