forked from caduvieira/portal.docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from unixelias/develop
Develop
- Loading branch information
Showing
10 changed files
with
94 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
data/ | ||
bkp/ | ||
temas/ |
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 |
---|---|---|
|
@@ -6,4 +6,5 @@ for i in $( ls docker); do | |
*-test ) ;; | ||
* ) docker build -t unixelias/plone.idg:$i docker/$i ;; | ||
esac | ||
done | ||
done | ||
|
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,32 @@ | ||
FROM plone:4.3 | ||
MAINTAINER Elias Alves <elias.alves@ufvjm.edu.br> | ||
LABEL Name="Modelo Plone v4.3 IDG escrito para implementação no Portal da UFVJM" \ | ||
Version="1.1.5.2" \ | ||
Architecture="x86_64" \ | ||
Dockerfile_location="/root/buildinfo" | ||
|
||
USER plone | ||
COPY site.cfg /plone/instance/ | ||
|
||
USER root | ||
COPY Dockerfile /root/buildinfo | ||
|
||
# Para Pillow 2.7.0 | ||
RUN buildDeps="curl sudo python-setuptools python-dev python-ldap build-essential libldap2-dev libsasl2-dev libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-turbo-dev libyaml-dev libgeos-c1 libgeos-dev" \ | ||
&& runDeps="cron" \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends $buildDeps \ | ||
&& apt-get install -y $runDeps \ | ||
&& sudo -u plone bin/buildout -c site.cfg -t 300 \ | ||
&& SUDO_FORCE_REMOVE=yes apt-get purge -y --auto-remove $buildDeps \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /plone/buildout-cache/downloads/* \ | ||
&& apt-get clean \ | ||
&& find /plone \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rf '{}' + | ||
|
||
USER plone | ||
|
||
EXPOSE 8080 | ||
|
||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
CMD ["start"] |
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,23 @@ | ||
[buildout] | ||
extends = | ||
buildout.cfg | ||
https://raw.githubusercontent.com/unixelias/plone.idg/master/versions/1.1.5.2/versions.cfg | ||
https://raw.githubusercontent.com/plonegovbr/portal.buildout/master/buildout.d/maintenance.cfg | ||
|
||
[instance] | ||
eggs += | ||
# Extensões mantidas pela comunidade PloneGov-BR | ||
brasil.gov.portal | ||
brasil.gov.facetada | ||
brasil.gov.vlibrasnews | ||
collective.opendata | ||
# Extensões mantidas pelo Plone | ||
plone.app.ldap | ||
collective.lineage | ||
collective.geo.bundle | ||
collective.behavior.banner | ||
collective.polls | ||
Products.EasyNewsletter | ||
|
||
[versions] | ||
brasil.gov.portal = 1.1.5.1 |
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.