mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-03 04:39:00 +08:00
alter dockerfile to docker/build dir
This commit is contained in:
parent
39a281c543
commit
c1215add7a
2
.github/workflows/ci_e2e.yml
vendored
2
.github/workflows/ci_e2e.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
${{ runner.os }}-maven-
|
||||
- name: Build Image
|
||||
run: |
|
||||
sh ./dockerfile/hooks/build
|
||||
sh ./docker/build/hooks/build
|
||||
- name: Docker Run
|
||||
run: |
|
||||
export VERSION=$(cat $(pwd)/pom.xml | grep '<version>' -m 1 | awk '{print $1}' | sed 's/<version>//' | sed 's/<\/version>//')
|
||||
|
@ -109,16 +109,16 @@ In Unix-Like, Example:
|
||||
|
||||
```bash
|
||||
$ cd path/incubator-dolphinscheduler
|
||||
$ sh ./dockerfile/hooks/build
|
||||
$ sh ./docker/build/hooks/build
|
||||
```
|
||||
|
||||
In Windows, Example:
|
||||
|
||||
```bat
|
||||
c:\incubator-dolphinscheduler>.\dockerfile\hooks\build.bat
|
||||
c:\incubator-dolphinscheduler>.\docker\build\hooks\build.bat
|
||||
```
|
||||
|
||||
Please read `./dockerfile/hooks/build` `./dockerfile/hooks/build.bat` script files if you don't understand
|
||||
Please read `./docker/build/hooks/build` `./docker/build/hooks/build.bat` script files if you don't understand
|
||||
|
||||
## Environment Variables
|
||||
|
||||
|
@ -109,16 +109,16 @@ dolphinscheduler frontend
|
||||
|
||||
```bash
|
||||
$ cd path/incubator-dolphinscheduler
|
||||
$ sh ./dockerfile/hooks/build
|
||||
$ sh ./docker/build/hooks/build
|
||||
```
|
||||
|
||||
Windows系统, 如下:
|
||||
|
||||
```bat
|
||||
c:\incubator-dolphinscheduler>.\dockerfile\hooks\build.bat
|
||||
c:\incubator-dolphinscheduler>.\docker\build\hooks\build.bat
|
||||
```
|
||||
|
||||
如果你不理解这些脚本 `./dockerfile/hooks/build` `./dockerfile/hooks/build.bat`,请阅读里面的内容。
|
||||
如果你不理解这些脚本 `./docker/build/hooks/build` `./docker/build/hooks/build.bat`,请阅读里面的内容。
|
||||
|
||||
## 环境变量
|
||||
|
||||
|
@ -42,8 +42,8 @@ echo -e "Current Directory is $(pwd)\n"
|
||||
echo -e "mvn -B clean compile package -Prelease -Dmaven.test.skip=true"
|
||||
mvn -B clean compile package -Prelease -Dmaven.test.skip=true
|
||||
|
||||
# mv dolphinscheduler-bin.tar.gz file to dockerfile directory
|
||||
echo -e "mv $(pwd)/dolphinscheduler-dist/target/apache-dolphinscheduler-incubating-${VERSION}-dolphinscheduler-bin.tar.gz $(pwd)/dockerfile/\n"
|
||||
# mv dolphinscheduler-bin.tar.gz file to docker/build directory
|
||||
echo -e "mv $(pwd)/dolphinscheduler-dist/target/apache-dolphinscheduler-incubating-${VERSION}-dolphinscheduler-bin.tar.gz $(pwd)/docker/build/\n"
|
||||
mv $(pwd)/dolphinscheduler-dist/target/apache-dolphinscheduler-incubating-${VERSION}-dolphinscheduler-bin.tar.gz $(pwd)/dockerfile/
|
||||
|
||||
# docker build
|
||||
|
Loading…
Reference in New Issue
Block a user