Skip to content

Commit

Permalink
optimizing downloads of dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: sunix <sutan@redhat.com>
  • Loading branch information
sunix committed Oct 30, 2019
1 parent 4d0dfce commit 5399fe6
Show file tree
Hide file tree
Showing 3 changed files with 13,846 additions and 10 deletions.
18 changes: 13 additions & 5 deletions devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ projects:
location: 'https://github.com/sunix/che-quarkus-demo'
branch: microservices
name: che-quarkus-demo
- source:
type: zip
location: 'https://github.com/sunix/che-quarkus-demo/releases/download/localrepo/local.zip'
name: local



Expand All @@ -21,12 +25,9 @@ components:
command: ['sleep']
args: ['infinity']
mountSources: true
volumes:
- name: mavenrepo
containerPath: /.m2
env:
- name: M2_REPO
value: /.m2/
- name: MAVEN_OPTS
value: '-Dmaven.repo.local=/projects/local/m2repo'
endpoints:
- name: 'quarkus/dev'
port: 8080
Expand All @@ -50,6 +51,10 @@ components:
endpoints:
- name: '3000/tcp'
port: 3000
env:
- name: NPM_CONFIG_PREFIX
value: '/projects/local/node_modules'


- alias: git
type: dockerimage
Expand Down Expand Up @@ -91,6 +96,9 @@ components:
discoverable: 'true'
public: 'false'

- id: eclipse/che-theia/next
type: cheEditor

commands:

- name: compile quarkus:dev
Expand Down
Loading

0 comments on commit 5399fe6

Please sign in to comment.