Skip to content

Commit

Permalink
Merge pull request #7 from cloudogu/feature/backup
Browse files Browse the repository at this point in the history
Backup preparation
  • Loading branch information
cwolfes authored Aug 29, 2018
2 parents 5c72ee1 + fda9a9c commit 77451a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM registry.cloudogu.com/official/java:8u121-4
MAINTAINER Sebastian Sdorra <[email protected]>
FROM registry.cloudogu.com/official/java:8u151-3
LABEL maintainer="[email protected]"

# scm-server environment
ENV SCM_VERSION=1.55 \
ENV SCM_VERSION=1.60 \
SCM_SCRIPT_PLUGIN=1.6 \
GROOVY_VERSION=2.4.12 \
SCM_HOME=/var/lib/scm \
Expand All @@ -21,16 +21,13 @@ RUN set -x \
&& mkdir /opt \
&& tar -C /opt -xf /tmp/scm-server.tar \
&& cd /tmp \

# install scm-script-plugin
&& mkdir -p WEB-INF/lib \
&& curl -Lks http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/${GROOVY_VERSION}/groovy-all-${GROOVY_VERSION}.jar -o /tmp/WEB-INF/lib/groovy-all-${GROOVY_VERSION}.jar \
&& curl -Lks http://maven.scm-manager.org/nexus/content/repositories/releases/sonia/scm/plugins/scm-script-plugin/${SCM_SCRIPT_PLUGIN}/scm-script-plugin-${SCM_SCRIPT_PLUGIN}.jar -o /tmp/WEB-INF/lib/scm-script-plugin-${SCM_SCRIPT_PLUGIN}.jar \
&& zip -u /opt/scm-server/var/webapp/scm-webapp.war WEB-INF/lib/* \

# cleanup
&& rm -rf /tmp/* /var/cache/apk/* \

# set mercurial system ca-certificates
# see https://github.com/cloudogu/ecosystem/issues/193
&& mkdir /etc/mercurial \
Expand Down
8 changes: 5 additions & 3 deletions dogu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Name": "official/scm",
"Version": "1.55-2",
"Version": "1.60-1",
"DisplayName": "SCM-Manager",
"Description": "The easiest way to share and manage your Git, Mercurial and Subversion repositories over http.",
"Category": "Development Apps",
Expand All @@ -17,13 +17,15 @@
"Name": "data",
"Path": "/var/lib/scm",
"Owner": "1000",
"Group": "1000"
"Group": "1000",
"NeedsBackup": true
},
{
"Name": "custom.init.script.d",
"Path": "/var/lib/custom.init.script.d",
"Owner": "1000",
"Group": "1000"
"Group": "1000",
"NeedsBackup": true
}],
"HealthCheck": {
"Type": "tcp",
Expand Down

0 comments on commit 77451a0

Please sign in to comment.