Commit df033cef authored by Nicolas Pernoud's avatar Nicolas Pernoud
Browse files

Updated versions

parent 7f9187c1
FROM debian:stable-slim AS installer
ARG COZY_VERSION=1.2.5
ARG NODE_VERSION=8.11.3
ARG COZY_VERSION=1.2.6
ARG NODE_VERSION=10.15.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
......
......@@ -31,6 +31,6 @@ chmod u+x /tmp/cozy
echo "Install nodejs..."
wget -O /tmp/node.tar.xz https://nodejs.org/dist/v8.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
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment