Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
c94d6c3a
Commit
c94d6c3a
authored
Jan 05, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added composer GITHUB_API_TOKEN support (with alias)
parent
b179d7bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
Dockerfile
Dockerfile
+3
-2
composer.sh
src/composer.sh
+8
-0
No files found.
Dockerfile
View file @
c94d6c3a
...
...
@@ -20,5 +20,6 @@ ADD src /app/src
ADD
version /app/version
# Create folder writable by the application (non-persistent data)
RUN
mkdir
-p
/app/web/assets /app/runtime
&&
\
chmod
777 /app/web/assets /app/runtime
RUN
mkdir
-p
/app/web/assets /app/runtime
\
&&
chmod
777 /app/web/assets /app/runtime
\
&&
echo
"alias composer='sh /app/src/composer.sh'"
>>
/root/.bashrc
src/composer.sh
0 → 100644
View file @
c94d6c3a
#!/usr/bin/env bash
if
[
-n
"
${
GITHUB_API_TOKEN
}
"
]
then
composer config
-g
github-oauth.github.com
${
GITHUB_API_TOKEN
}
fi
composer
"
$@
"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment