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

fix: move code to token-portal

parent 75cc8a26
No related branches found
No related tags found
No related merge requests found
...@@ -21,13 +21,13 @@ ARG COMPOSER_ALLOW_SUPERUSER=1 ...@@ -21,13 +21,13 @@ ARG COMPOSER_ALLOW_SUPERUSER=1
RUN apt update -y && \ RUN apt update -y && \
apt install -y --no-install-recommends git unzip && \ 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-portal && \
cd token && \ cd token-portal && \
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
# install composer dependencies # install composer dependencies
COPY --from=composer /usr/bin/composer /usr/bin/composer COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN cd /app/token && \ RUN cd /app/token-portal && \
/usr/bin/composer install --no-dev --no-progress /usr/bin/composer install --no-dev --no-progress
FROM ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX:+/}bitnami/php-fpm:${PHP_VERSION:-latest}${DEB_VERSION:+-debian-}${DEB_VERSION} FROM ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX:+/}bitnami/php-fpm:${PHP_VERSION:-latest}${DEB_VERSION:+-debian-}${DEB_VERSION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment