File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ defaultArgs:
8
8
publishToJBMarketplace : true
9
9
localAppVersion : unknown
10
10
codeCommit : 30d694d1f41945af7f8d757d3ddf176b283752cb
11
+ ideQuality : stable
11
12
jetbrainsBackendQualifier : stable
12
13
intellijDownloadUrl : " https://download.jetbrains.com/idea/ideaIU-2022.1.tar.gz"
13
14
golandDownloadUrl : " https://download.jetbrains.com/go/goland-2022.1.tar.gz"
Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ packages:
9
9
argdeps :
10
10
- imageRepoBase
11
11
- codeCommit
12
+ - ideQuality
12
13
config :
13
14
dockerfile : leeway.Dockerfile
14
15
metadata :
15
16
helm-component : workspace.codeImage
16
17
buildArgs :
17
18
CODE_COMMIT : ${codeCommit}
19
+ IDE_QUALITY : ${ideQuality}
18
20
image :
19
21
- ${imageRepoBase}/ide/code:${version}
20
22
- ${imageRepoBase}/ide/code:commit-${__git_commit}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN yarn --cwd remote --frozen-lockfile --network-timeout 180000
19
19
FROM gitpod/openvscode-server-linux-build-agent:bionic-x64 as code_builder
20
20
21
21
ARG CODE_COMMIT
22
+ ARG IDE_QUALITY
22
23
23
24
ARG NODE_VERSION=16.14.2
24
25
ARG NVM_DIR="/root/.nvm"
@@ -45,6 +46,11 @@ RUN yarn --frozen-lockfile --network-timeout 180000
45
46
RUN rm -rf remote/node_modules/
46
47
COPY --from=dependencies_builder /gp-code/remote/node_modules/ /gp-code/remote/node_modules/
47
48
49
+ # TODO: using jq, alter product.json to add IDE_QUALITY
50
+ RUN cat product.json
51
+ RUN echo "$(jq '. += {" quality":" 1"}' product.json)" > product.json
52
+ RUN cat product.json
53
+
48
54
RUN yarn --cwd extensions compile \
49
55
&& yarn gulp vscode-web-min \
50
56
&& yarn gulp vscode-reh-linux-x64-min
You can’t perform that action at this time.
0 commit comments