-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b06942
commit 1f35e9a
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM eeacms/marine-backend | ||
|
||
COPY devel.cfg /plone/instance/ | ||
COPY docker-setup.sh / | ||
|
||
RUN /docker-setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[configuration] | ||
eggs += | ||
collective.MockMailHost | ||
wise.theme | ||
wise.msfd | ||
|
||
[buildout] | ||
extends = develop.cfg | ||
|
||
[sources] | ||
wise.theme = git https://github.com/eea/wise.theme.git branch=plone5-py3 | ||
wise.msfd = git https://github.com/eea/wise.msfd.git branch=plone5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
#make sure all the commands are run succesfully | ||
set -e | ||
|
||
runDeps=" | ||
build-essential | ||
silversearcher-ag | ||
tmux | ||
mc | ||
procps | ||
" | ||
|
||
echo "=========================================================================" | ||
echo "Installing $runDeps" | ||
echo "=========================================================================" | ||
|
||
apt-get update | ||
apt-get install -y --no-install-recommends $runDeps | ||
|
||
echo "=========================================================================" | ||
echo "Running buildout -c devel.cfg" | ||
echo "=========================================================================" | ||
|
||
gosu plone buildout -c devel.cfg | ||
|
||
echo "=========================================================================" | ||
echo "Cleaning up cache..." | ||
echo "=========================================================================" | ||
|
||
rm -vrf /var/lib/apt/lists/* | ||
rm -vrf /plone/buildout-cache/downloads/* | ||
|
||
echo "=========================================================================" | ||
echo "Fixing permissions..." | ||
echo "=========================================================================" | ||
|
||
find /data -not -user plone -exec chown plone:plone {} \+ | ||
find /plone -not -user plone -exec chown plone:plone {} \+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/opt/homebrew/bin/bash | ||
set -e | ||
|
||
dir="$(dirname "$(readlink -f "$BASH_SOURCE")")" | ||
|