From e6c502ecb326871030dd93481c2a46670021b667 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Fri, 5 Apr 2024 20:34:33 -0500 Subject: [PATCH] Simplify taginfo container --- images/taginfo/Dockerfile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/images/taginfo/Dockerfile b/images/taginfo/Dockerfile index bd971589..0d46b273 100644 --- a/images/taginfo/Dockerfile +++ b/images/taginfo/Dockerfile @@ -1,33 +1,26 @@ FROM ruby:2.4 ENV workdir /apps WORKDIR $workdir + +# Update and install only necessary packages RUN apt-get update && apt-get install -y \ curl \ + wget \ sqlite3 \ - sqlite3-pcre \ - ruby-passenger \ - libapache2-mod-passenger \ git \ cmake \ libbz2-dev \ libexpat1-dev \ libgd-dev \ libicu-dev \ - libosmium2-dev \ - libprotozero-dev \ - libsqlite3-dev \ make \ zlib1g-dev \ - jq \ ca-certificates \ - osmium-tool \ - pyosmium \ - rsync \ - tmux \ - zsh \ - awscli \ + python3-pip \ && rm -rf /var/lib/apt/lists/* +RUN pip3 install awscli + # Clone and setup taginfo-tools RUN git clone https://github.com/taginfo/taginfo-tools.git $workdir/taginfo-tools && \ cd $workdir/taginfo-tools && \