FROM alpine WORKDIR /opt ADD combined_update_ddl.sql init.sql ADD init.sh init.sh RUN apk add --update --no-cache postgresql-client RUN chmod +x init.sql RUN find . -name "*.sh" | xargs sed -i 's/\r$//' CMD [ "./init.sh" ]