Skip to content

Commit

Permalink
Merge pull request kobotoolbox#3503 from kobotoolbox/replace-dockerize
Browse files Browse the repository at this point in the history
Install `wait-for-it` (to later replace Dockerize)
  • Loading branch information
noliveleger committed Oct 15, 2021
2 parents 088c0bd + da1e8b0 commit 1d37be1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Dockerfile
Expand Up @@ -17,6 +17,7 @@ ENV KPI_LOGS_DIR=/srv/logs \
INIT_PATH=/srv/init

# Install Dockerize.
# TODO: Remove this after merging kobotoolbox/kobo-docker#322
ENV DOCKERIZE_VERSION v0.6.1
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz -P /tmp \
&& tar -C /usr/local/bin -xzvf /tmp/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
Expand All @@ -40,17 +41,20 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -

RUN apt -qq update && \
apt -qq -y install \
RUN apt-get -qq update && \
apt-get -qq -y install \
gdal-bin \
libproj-dev \
gettext \
postgresql-client \
less \
libproj-dev \
locales \
runit-init \
postgresql-client \
python3-virtualenv \
rsync \
vim && \
apt clean && \
runit-init \
vim \
wait-for-it && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

###########################
Expand Down

0 comments on commit 1d37be1

Please sign in to comment.