-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docker dev environment #301
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should change your commit log's subject to imperative mood
Docker_build.md
Outdated
@@ -0,0 +1,31 @@ | |||
## Doris Develop Environment based on docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should add ASF license header, like this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Docker_build.md
Outdated
|
||
docker build -t palo:v1.0 . | ||
|
||
-- palo is docker image repository name and base is tag name , you can change them to what you like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should better change palo to doris
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Dockerfile
Outdated
|
||
# add code repository | ||
ADD thirdparty /var/local/thirdparty | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should add palo source code in docker image too, otherwise you won't build palo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Dockerfile
Outdated
# build third party | ||
RUN /bin/bash thirdparty/build-thirdparty.sh \ | ||
&& ln -s ${DEFAULT_DIR}/thirdparty/installed/bin/thrift /usr/bin/thrift \ | ||
&& ln -s ${DEFAULT_DIR}/thirdparty/installed/ant/bin/ant /usr/bin/ant \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not using ant any more, using maven instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have create docker directory and delete ant and change as other suggest
d88d125
to
ada47af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works
Commit log can be changed when merge, no need to create a new patach
No description provided.