Skip to content

Commit a947c21

Browse files
committed
- prepare Docker environment
1 parent d9708b5 commit a947c21

7 files changed

+433
-400
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.DS_Store
22
node_modules/
33
npm-debug.log
4+
package-lock.json
45
.build*
56
build
67
.idea
7-
index.html
8+
index.html

Diff for: Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM node:latest
2+
3+
MAINTAINER Labs64 GmbH [email protected]
4+
5+
# Install some must-haves
6+
RUN apt-get update
7+
RUN apt-get -y install vim git
8+
9+
# Install Google Chrome
10+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
11+
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
12+
RUN apt-get update && apt-get install -y google-chrome-stable
13+
14+
# Check installed software versions
15+
RUN git --version
16+
RUN node -v
17+
18+
# Define work directory and volumes
19+
WORKDIR /opt/NetLicensingClient-javascript
20+
VOLUME ["/opt/NetLicensingClient-javascript"]

Diff for: _release.sh

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# install dependencies
44
npm install
5+
npm install -g gulp
56

67
# check if testing is needed before release
78
echo Do you want run test before release start? [yes/no]

0 commit comments

Comments
 (0)