nf tower 验证
-
https://github.com/seqeralabs/nf-tower
sudo make buildjynlix@ubuntu01:~/Downloads/src/nf-tower$ make build
./gradlew assembleTask :tower-backend:compileGroovy FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':tower-backend:compileGroovy'.
Bad <init> method call from inside of a branch
Exception Details:
Location:
org/codehaus/groovy/control/customizers/ASTTransformationCustomizer.<init>(Ljava/util/Map;Lorg/codehaus/groovy/transform/ASTTransformation;)V @159: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0x0000000: b800 234e 04bd 006e 5903 2c53 5910 ff12
0x0000010: 02b8 0076 2a5f ab00 0000 01b0 0000 000a
0x0000020: b951 be33 0000 005a bd3c 11f8 0000 008f
0x0000030: e4d2 7468 0000 00b8 f226 4f65 0000 00cb
0x0000040: 1cb4 ddcd 0000 00e0 224d 0e57 0000 00ff
0x0000050: 4441 e4ca 0000 0128 4c34 1502 0000 0149
0x0000060: 589a 5432 0000 0168 6648 e9fd 0000 0185
0x0000070: 5f5a 5903 3212 7eb8 0051 c000 7e5f 5904
0x0000080: 32b8 0042 c000 445f 5905 32b8 0082 c000编译的时候老是报错 修改
vi tower-backend/build.gradle
tasks.withType(GroovyCompile) {
groovyOptions.forkOptions.jvmArgs.add('-Dgroovy.parameters=true')
groovyOptions.forkOptions.jvmArgs.add('-noverify') //加上这个
} - What went wrong:
-
修改 build.gradle加速
allprojects {
version "20.06.0"
group "io.seqera"
repositories {
maven { url 'https://mirrors.cloud.tencent.com/nexus/repository/maven-public/' }
mavenLocal()
mavenCentral()
maven {
url "https://clojars.org/repo"
}
}
} -
运行
sudo apt install docker-compose
sudo make runCannot create container for service backend: create .: volume name is too short, names should be at least two alphanumeric characters
vi docker-compose.yml
这个地方/是必须的
volumes:
- $PWD/:/work