Skip to content
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

Merged
merged 1 commit into from
Nov 16, 2018
Merged

Conversation

uestctxq
Copy link
Contributor

No description provided.

imay
imay previously requested changes Nov 12, 2018
Copy link
Contributor

@imay imay left a 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
Copy link
Contributor

@imay imay Nov 12, 2018

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

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

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.

Copy link
Contributor Author

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 \
Copy link
Contributor

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.

Copy link
Contributor Author

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

@uestctxq uestctxq force-pushed the feature-docker-image branch from d88d125 to ada47af Compare November 15, 2018 13:30
@morningman morningman changed the title feature add dockerfile Add docker dev environment Nov 16, 2018
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works

@morningman morningman dismissed imay’s stale review November 16, 2018 08:33

Commit log can be changed when merge, no need to create a new patach

@morningman morningman merged commit b946f20 into apache:master Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants