-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (26 loc) · 961 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM node:4-slim
# Install git
RUN apt-get update && apt-get install -y git
# Global install node tools
RUN npm set progress=false && \
npm install --global --progress=false gulp bower npm-install-changed polymer-cli && \
echo '{ "allow_root": true }' > /root/.bowerrc
# Binary may be called nodejs instead of node
RUN ln -s /usr/bin/nodejs /usr/bin/node
# Define working directory.
WORKDIR /workspace
# Metadata params
ARG VERSION
ARG VCS_URL
ARG VCS_REF
ARG BUILD_DATE
# Metadata
LABEL org.label-schema.vendor="DeskDrop" \
org.label-schema.url="https://deskdrop.co" \
org.label-schema.name="DeskDrop local development Web Workspace" \
org.label-schema.description="Slim based Deskdrop web workspace" \
org.label-schema.version=$VERSION \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.docker.schema-version="1.0"