Skip to content
Snippets Groups Projects
Commit 7ea0e952 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

remove unused dockerfile

parent c09bc298
No related branches found
No related tags found
No related merge requests found
FROM alpine:3.8
# Build arguments
## The database user name
ARG DBUSER
## The user's password
ARG DBPASS
## The database name
ARG DBNAME
# Forward the args to the container
ENV DBUSER=${DBUSER}
ENV DBPASS=${DBPASS}
ENV DBNAME=${DBNAME}
ENV PGDATA "/var/lib/postgresql"
RUN apk update && \
apk add postgresql postgresql-contrib
RUN mkdir -p /run/postgresql && chmod a+w /run/postgresql
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
USER postgres
VOLUME $PGDATA
CMD ["/entrypoint.sh"]
EXPOSE 5432
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment