Skip to content
Snippets Groups Projects
Unverified Commit 839fe9e8 authored by Mgr. Pavel Břoušek's avatar Mgr. Pavel Břoušek
Browse files

perf: install unzip

parent 3524329a
Branches
Tags
No related merge requests found
...@@ -19,12 +19,12 @@ ARG COMPOSER_ALLOW_SUPERUSER=1 ...@@ -19,12 +19,12 @@ ARG COMPOSER_ALLOW_SUPERUSER=1
# install from source # install from source
RUN apt update -y && \ RUN apt update -y && \
apt install -y --no-install-recommends git && \ apt install -y --no-install-recommends git unzip && \
cd /app && \ cd /app && \
git clone https://github.com/${TOKEN_PORTAL_ORIGIN}/simple-oidc-client-php.git token && \ git clone https://github.com/${TOKEN_PORTAL_ORIGIN}/simple-oidc-client-php.git token && \
cd token && \ cd token && \
if echo $TOKEN_PORTAL_VERSION | grep -q "^[0-9]"; then git checkout v${TOKEN_PORTAL_VERSION}; else git checkout ${TOKEN_PORTAL_VERSION}; fi && \ if echo $TOKEN_PORTAL_VERSION | grep -q "^[0-9]"; then git checkout v${TOKEN_PORTAL_VERSION}; else git checkout ${TOKEN_PORTAL_VERSION}; fi && \
apt-get remove -y git && \ apt-get remove -y git unzip && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment