diff --git a/9.6/Dockerfile b/9.6/Dockerfile index 6f94be40b9..86d06ac2ec 100644 --- a/9.6/Dockerfile +++ b/9.6/Dockerfile @@ -5,6 +5,7 @@ RUN set -ex; \ if ! command -v gpg > /dev/null; then \ apt-get update; \ apt-get install -y --no-install-recommends \ + curl \ gnupg \ dirmngr \ ; \ @@ -28,6 +29,23 @@ RUN set -x \ && gosu nobody true \ && apt-get purge -y --auto-remove ca-certificates wget +# install git-lfs +RUN set -x \ + && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl ssh wget \ + && curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \ + && apt-get install -y --no-install-recommends git-lfs \ + && rm -rf /var/lib/apt/lists/* + +# install jq 1.5 +RUN curl -Lo /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 \ + && chmod +x /usr/local/bin/jq + +# install dockerize +ENV DOCKERIZE_VERSION v0.5.0 +RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ + && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ + && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz + # make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \ && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 diff --git a/9.6/omni-9.6.10/Dockerfile b/9.6/omni-9.6.10/Dockerfile new file mode 100644 index 0000000000..e3f1815212 --- /dev/null +++ b/9.6/omni-9.6.10/Dockerfile @@ -0,0 +1,18 @@ +FROM postgres:9.6.10 + +# install git-lfs +RUN set -x \ + && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl ssh wget \ + && curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \ + && apt-get install -y --no-install-recommends git-lfs postgresql-plperl-9.6 \ + && rm -rf /var/lib/apt/lists/* + +# install jq 1.5 +RUN curl -Lo /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 \ + && chmod +x /usr/local/bin/jq + +# install dockerize +ENV DOCKERIZE_VERSION v0.5.0 +RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ + && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ + && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ No newline at end of file