Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker Token Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Provoz
gss
Docker Token Portal
Commits
839fe9e8
Unverified
Commit
839fe9e8
authored
Apr 14, 2023
by
Mgr. Pavel Břoušek
Browse files
Options
Downloads
Patches
Plain Diff
perf: install unzip
parent
3524329a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
839fe9e8
...
@@ -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/
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment