Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
discourse
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
libre.sh
docker
discourse
Commits
0ab49545
Commit
0ab49545
authored
2 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Adds /var/www/discourse as a safe git directory.
parent
9a567e0a
No related branches found
No related tags found
No related merge requests found
Pipeline
#1485
passed with stage
in 9 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
with
2 additions
and
1 deletion
Dockerfile
+
2
−
1
View file @
0ab49545
...
...
@@ -20,7 +20,8 @@ RUN apt-get update && apt-get install -y jq
WORKDIR
/var/www/discourse
RUN
git remote set-branches
--add
origin
${
DISCOURSE_VERSION
}
&&
\
RUN
git config
--global
--add
safe.directory /var/www/discourse
&&
\
git remote set-branches
--add
origin
${
DISCOURSE_VERSION
}
&&
\
git fetch
--depth
1 origin
${
DISCOURSE_VERSION
}
&&
\
sudo
-u
discourse bundle config
--local
deployment
true
&&
\
sudo
-u
discourse bundle config
--local
path ./vendor/bundle
&&
\
...
...
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