Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POCS
cozy
easy-cozy
Commits
df033cef
Commit
df033cef
authored
May 20, 2019
by
Nicolas Pernoud
Browse files
Updated versions
parent
7f9187c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
cozystack/Dockerfile
View file @
df033cef
FROM
debian:stable-slim
AS
installer
ARG
COZY_VERSION=1.2.
5
ARG
NODE_VERSION=
8
.1
1
.3
ARG
COZY_VERSION=1.2.
6
ARG
NODE_VERSION=
10
.1
5
.3
WORKDIR
/tmp
...
...
@@ -24,14 +24,6 @@ COPY --chown=cozy:cozy --from=installer /tmp/node /usr/local/node
COPY
--chown=cozy:cozy entrypoint.sh /entrypoint.sh
COPY
--chown=cozy:cozy cozy.yaml /etc/cozy/cozy.yaml
ADD
--chown=cozy:cozy https://raw.githubusercontent.com/cozy/cozy-stack/2018M2S5/scripts/konnector-node-run.sh /usr/local/cozy-stack/scripts/
## Workaround
#COPY --from=installer /tmp/cozy /usr/local/cozy-stack/cozy
#COPY --from=installer /tmp/node /usr/local/node
#COPY entrypoint.sh /entrypoint.sh
#COPY cozy.yaml /etc/cozy/cozy.yaml
#ADD https://raw.githubusercontent.com/cozy/cozy-stack/2018M2S5/scripts/konnector-node-run.sh /usr/local/cozy-stack/scripts/
#RUN chown cozy:cozy /usr/local/cozy-stack/cozy /usr/local/cozy-stack/scripts/konnector-node-run.sh /entrypoint.sh /etc/cozy/cozy.yaml
## End of the Workaround
RUN
chmod
u+x /entrypoint.sh /usr/local/cozy-stack/scripts/konnector-node-run.sh
...
...
cozystack/install.sh
View file @
df033cef
...
...
@@ -31,6 +31,6 @@ chmod u+x /tmp/cozy
echo
"Install nodejs..."
wget
-O
/tmp/node.tar.xz https://nodejs.org/dist/v
8.11.3
/node-v
${
NODE_VERSION
}
-linux-
${
NODE_ARCH
}
.tar.xz
wget
-O
/tmp/node.tar.xz https://nodejs.org/dist/v
${
NODE_VERSION
}
/node-v
${
NODE_VERSION
}
-linux-
${
NODE_ARCH
}
.tar.xz
tar
-xv
--use-compress-program
xz
-f
node.tar.xz
mv
node-v
${
NODE_VERSION
}
-linux-
${
NODE_ARCH
}
node
docker-compose.yml
View file @
df033cef
...
...
@@ -5,6 +5,7 @@ services:
image
:
couchdb:2.3
volumes
:
-
${DATABASE_DIRECTORY}:/opt/couchdb/data
-
/etc/localtime:/etc/localtime:ro
logging
:
driver
:
"
json-file"
options
:
...
...
@@ -20,6 +21,7 @@ services:
COZY_TLD
:
${COZY_TLD}
volumes
:
-
${STORAGE_DIRECTORY}:/usr/local/cozy-stack/storage
-
/etc/localtime:/etc/localtime:ro
ports
:
-
8080:8080
depends_on
:
...
...
Write
Preview
Supports
Markdown
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