switched to slim/alpine images
This commit is contained in:
parent
fa1a8a7806
commit
d1be819000
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
docker-compose-test.yml
|
@ -1,4 +1,4 @@
|
||||
FROM elasticsearch
|
||||
FROM elasticsearch:alpine
|
||||
MAINTAINER Zammad <info@zammad.org>
|
||||
ARG BUILD_DATE
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM nginx
|
||||
FROM nginx:alpine
|
||||
MAINTAINER Zammad <info@zammad.org>
|
||||
ARG BUILD_DATE
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM postgres
|
||||
FROM postgres:alpine
|
||||
MAINTAINER Zammad <info@zammad.org>
|
||||
ARG BUILD_DATE
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ruby:2.3.1
|
||||
FROM ruby:2.3.1-slim
|
||||
MAINTAINER Zammad <info@zammad.org>
|
||||
ARG BUILD_DATE
|
||||
|
||||
@ -23,10 +23,18 @@ LABEL org.label-schema.build-date="$BUILD_DATE" \
|
||||
EXPOSE 3000
|
||||
EXPOSE 6042
|
||||
|
||||
# install dependencies
|
||||
RUN apt-get update && apt-get install -y build-essential git-core libpq5 libpq-dev
|
||||
|
||||
# install zammad
|
||||
COPY install-zammad.sh /tmp
|
||||
RUN chmod +x /tmp/install-zammad.sh;/bin/bash -l -c /tmp/install-zammad.sh
|
||||
|
||||
# cleanup
|
||||
RUN apt-get remove --purge -y git-core build-essential bzip2 ca-certificates libffi-dev libgdbm3 libssl-dev procps zlib1g-dev && \
|
||||
apt-get autoremove -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# docker init
|
||||
COPY docker-entrypoint.sh /
|
||||
RUN chown zammad:zammad /docker-entrypoint.sh;chmod +x /docker-entrypoint.sh
|
||||
|
@ -3,5 +3,4 @@
|
||||
# build hooks config
|
||||
#
|
||||
|
||||
DOCKER_REPO="zammad/zammad-docker-compose"
|
||||
DOCKER_IMAGES="elasticsearch nginx postgresql zammad"
|
||||
|
Loading…
Reference in New Issue
Block a user