Update haproxy image
This commit is contained in:
parent
4c7df76c39
commit
5a0ce3b06b
2 changed files with 6 additions and 4 deletions
|
@ -13,11 +13,13 @@
|
|||
# limitations under the License.
|
||||
|
||||
|
||||
FROM alpine:edge
|
||||
FROM gcr.io/google_containers/debian-slim:0.1
|
||||
MAINTAINER Prashanth B <beeps@google.com>
|
||||
|
||||
RUN apk add -U bash curl socat haproxy && \
|
||||
rm -rf /var/cache/apk/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
bash curl socat haproxy ca-certificates && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /etc/haproxy/errors /var/state/haproxy
|
||||
RUN for ERROR_CODE in 400 403 404 408 500 502 503 504;do curl -sSL -o /etc/haproxy/errors/$ERROR_CODE.http \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
all: push
|
||||
|
||||
# 0.0.0 shouldn't clobber any released builds
|
||||
TAG = 0.2
|
||||
TAG = 0.0
|
||||
PREFIX = gcr.io/google_containers/haproxy
|
||||
HAPROXY_IMAGE = haproxy
|
||||
|
||||
|
|
Loading…
Reference in a new issue