create-steedos-app 2.1.74 → 2.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-steedos-app",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.75",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"steedos"
|
|
6
6
|
],
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"create-steedos-app": "./index.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@geek/spinner": "
|
|
29
|
+
"@geek/spinner": "1.0.0",
|
|
30
30
|
"chalk": "3.0.0",
|
|
31
31
|
"commander": "4.1.0",
|
|
32
32
|
"cpy": "7.3.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"resolutions": {
|
|
36
36
|
"**/chalk": "3.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a401ad5a817c9af26f21c37f528708ced98bcbe8"
|
|
39
39
|
}
|
|
@@ -3,7 +3,6 @@ FROM node:12.22.7
|
|
|
3
3
|
WORKDIR /app
|
|
4
4
|
|
|
5
5
|
ADD .steedos ./.steedos/
|
|
6
|
-
ADD .scripts ./.scripts/
|
|
7
6
|
ADD services ./services/
|
|
8
7
|
ADD steedos-app ./steedos-app/
|
|
9
8
|
# ADD steedos-packages ./steedos-packages/
|
|
@@ -18,4 +17,4 @@ RUN yarn
|
|
|
18
17
|
|
|
19
18
|
ENV NODE_ENV=production
|
|
20
19
|
|
|
21
|
-
CMD ["yarn", "start"]
|
|
20
|
+
CMD ["yarn", "start"]
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"author": "",
|
|
29
29
|
"license": "ISC",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@steedos/service-community": "^2.1
|
|
31
|
+
"@steedos/service-community": "^2.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"eslint": "^7.7.0",
|
|
@@ -57,4 +57,4 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
}
|
|
60
|
-
}
|
|
60
|
+
}
|
|
@@ -1,2 +1,52 @@
|
|
|
1
|
-
FROM
|
|
1
|
+
FROM gitpod/workspace-base:latest
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
### Install MongoDB ###
|
|
5
|
+
# Source: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu-tarball/#install-mongodb-community-edition
|
|
6
|
+
USER root
|
|
7
|
+
RUN mkdir -p /tmp/mongodb && \
|
|
8
|
+
cd /tmp/mongodb && \
|
|
9
|
+
wget -qOmongodb.tgz https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.17.tgz && \
|
|
10
|
+
tar xf mongodb.tgz && \
|
|
11
|
+
cd mongodb-* && \
|
|
12
|
+
sudo cp bin/* /usr/local/bin/ && \
|
|
13
|
+
rm -rf /tmp/mongodb
|
|
14
|
+
|
|
15
|
+
### Install Redis ###
|
|
16
|
+
USER root
|
|
17
|
+
RUN curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg \
|
|
18
|
+
&& echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list \
|
|
19
|
+
&& sudo apt-get update \
|
|
20
|
+
&& apt-get install -y redis
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Install Docker ###
|
|
24
|
+
LABEL dazzle/layer=tool-docker
|
|
25
|
+
LABEL dazzle/test=tests/tool-docker.yaml
|
|
26
|
+
USER root
|
|
27
|
+
ENV TRIGGER_REBUILD=3
|
|
28
|
+
# https://docs.docker.com/engine/install/ubuntu/
|
|
29
|
+
RUN curl -o /var/lib/apt/dazzle-marks/docker.gpg -fsSL https://download.docker.com/linux/ubuntu/gpg \
|
|
30
|
+
&& apt-key add /var/lib/apt/dazzle-marks/docker.gpg \
|
|
31
|
+
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
|
|
32
|
+
&& install-packages docker-ce docker-ce-cli containerd.io
|
|
33
|
+
|
|
34
|
+
RUN curl -o /usr/bin/slirp4netns -fsSL https://github.com/rootless-containers/slirp4netns/releases/download/v1.1.12/slirp4netns-$(uname -m) \
|
|
35
|
+
&& chmod +x /usr/bin/slirp4netns
|
|
36
|
+
|
|
37
|
+
RUN curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64 \
|
|
38
|
+
&& chmod +x /usr/local/bin/docker-compose
|
|
39
|
+
|
|
40
|
+
### Install Nodejs ###
|
|
41
|
+
USER gitpod
|
|
42
|
+
ENV NODE_VERSION=12.22.7
|
|
43
|
+
ENV TRIGGER_REBUILD=2
|
|
44
|
+
RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | PROFILE=/dev/null bash \
|
|
45
|
+
&& bash -c ". .nvm/nvm.sh \
|
|
46
|
+
&& nvm install $NODE_VERSION \
|
|
47
|
+
&& nvm alias default $NODE_VERSION \
|
|
48
|
+
&& npm install -g typescript yarn node-gyp"
|
|
49
|
+
ENV PATH=$PATH:/home/gitpod/.nvm/versions/node/v${NODE_VERSION}/bin
|
|
50
|
+
|
|
51
|
+
### Install Steedos Cli ###
|
|
52
|
+
RUN npm i steedos-cli --global
|