Skip to content

Add docker dev environment - #301

Merged
morningman merged 1 commit into
apache:masterfrom
txqyou:feature-docker-image
Nov 16, 2018
Merged

Add docker dev environment#301
morningman merged 1 commit into
apache:masterfrom
txqyou:feature-docker-image

Conversation

@uestctxq

Copy link
Copy Markdown
Contributor

No description provided.

imay
imay previously requested changes Nov 12, 2018

@imayimay left a comment

Copy link
Copy Markdown
Contributor

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

Comment threadDocker_build.md Outdated
@@ -0,0 +1,31 @@
## Doris Develop Environment based on docker

@imayimayNov 12, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

OK

Comment threadDocker_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
Copy Markdown
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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

OK

Comment threadDockerfile Outdated

# add code repository
ADD thirdparty /var/local/thirdparty

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

OK

Comment threadDockerfile 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
Copy Markdown
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
Copy Markdown
ContributorAuthor

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

@morningmanmorningman changed the title feature add dockerfileAdd docker dev environmentNov 16, 2018

@morningmanmorningman left a comment

Copy link
Copy Markdown
Contributor

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 reviewNovember 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:masterNov 16, 2018
Sign up for freeto 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

@uestctxq@imay@morningman@EmmyMiao87@kangpinghuang