20 lines
486 B
Docker
20 lines
486 B
Docker
FROM postgres:9.5
|
|
|
|
RUN apt update && apt -y full-upgrade
|
|
RUN apt install -y curl
|
|
|
|
RUN localedef -i de_DE -c -f UTF-8 -A /usr/share/locale/locale.alias de_DE.UTF-8
|
|
ENV LANG=de_DE.UTF-8
|
|
ENV LANGUAGE=en_US.UTF-8
|
|
ENV LC_MESSAGES=en_US.UTF-8
|
|
|
|
COPY sources/create_db.sh /docker-entrypoint-initdb.d/
|
|
|
|
RUN curl http://metasfresh.com/wp-content/releases/db_seeds/metasfresh_latest.pgdump \
|
|
--output /tmp/metasfresh.pgdump
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
|
|
CMD ["postgres"]
|
|
EXPOSE 5432
|