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

feat: add hubble dockerfile #295

Merged
merged 8 commits into from
Jul 22, 2022
Merged

feat: add hubble dockerfile #295

merged 8 commits into from
Jul 22, 2022

Conversation

simon824
Copy link
Member

No description provided.

@imbajin
Copy link
Member

imbajin commented Jun 24, 2022

TODO: build the source directly

Link issue

@@ -70,10 +70,10 @@
echo -e "Hubble-FE build successfully.\n"

cd ${top.level.dir} && pwd
rm -rf ${final.name}/ui
cp -r ${hubble-fe.dir}/build ${final.name}/ui
rm -rf ${release.name}/ui
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove the directory version information here, so that version does not need to be added to the dockerfile, which is more general

Copy link
Member

Choose a reason for hiding this comment

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

Fine if test OK

@codecov
Copy link

codecov bot commented Jun 29, 2022

Codecov Report

Merging #295 (702b533) into master (87869a1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #295   +/-   ##
=========================================
  Coverage     72.90%   72.90%           
  Complexity     1849     1849           
=========================================
  Files           242      242           
  Lines          8084     8084           
  Branches        716      716           
=========================================
  Hits           5894     5894           
  Misses         1807     1807           
  Partials        383      383           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87869a1...702b533. Read the comment docs.

@simon824
Copy link
Member Author

TODO: build the source directly

Link issue

Done, please take a look again when free, thanks. @imbajin

ENV HUBBLE_HOME /opt/hugegraph-hubble
WORKDIR ${HUBBLE_HOME}

ADD ./hugegraph-hubble/hugegraph-hubble $HUBBLE_HOME
Copy link
Member

Choose a reason for hiding this comment

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

where is this relative path? (seems we miss the install step?)

Comment on lines +124 to +133
<arguments>
<argument>build</argument>
<argument>--no-cache</argument>
<argument>-t</argument>
<argument>${docker.hub}/${parent.artifactId}:${docker.tag}</argument>
<argument>-t</argument>
<argument>${docker.hub}/${parent.artifactId}:latest</argument>
<argument>${project.basedir}</argument>
<argument>--file=../Dockerfile</argument>
</arguments>
Copy link
Member

@imbajin imbajin Jul 19, 2022

Choose a reason for hiding this comment

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

how could we link to dockerhub & test it? if someone want to build the image in local machine

run docker built -t . is enough?

Copy link
Member Author

Choose a reason for hiding this comment

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

If having permission, we can execute mvn deploy anywhere to push the image to any repository by modify the parameters.

This configuration is just for building the image, the below configuration is for building and pushing。

@javeme javeme added docker hubble hugegraph-hubble labels Jul 22, 2022
Copy link
Member

@imbajin imbajin left a comment

Choose a reason for hiding this comment

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

try to push it to dockerhub

@javeme javeme merged commit 3ee7490 into apache:master Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker hubble hugegraph-hubble
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants