- Notifications
You must be signed in to change notification settings - Fork 45
Change basic image to openjdk:11-slim #216
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| | @@ -14,7 +14,7 @@ | |
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| FROM openjdk:11-jre | ||
| FROM openjdk:11-slim | ||
| Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could ensure the diff between | ||
| LABEL maintainer="HugeGraph Docker Maintainers <dev@hugegraph.apache.org>" | ||
| # use ParallelGC which is more friendly to olap system | ||
| ENV JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseParallelGC -XX:+UseContainerSupport -XX:MaxRAMPercentage=50 -XshowSettings:vm" | ||
| | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| | @@ -14,8 +14,8 @@ | |
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| FROM openjdk:11-jre | ||
| FROM openjdk:11-slim | ||
| LABEL maintainer="HugeGraph Docker Maintainers <dev@hugegraph.apache.org>" | ||
| WORKDIR /opt/app | ||
| WORKDIR /hugegraph/operator | ||
| Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. current user is? is the access permission enough? Member Author There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. root? Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rename to | ||
| COPY target/hugegraph-computer-operator-*.jar hugegraph-computer-operator.jar | ||
| ENTRYPOINT ["java", "-jar", "hugegraph-computer-operator.jar"] | ||
Uh oh!
There was an error while loading. Please reload this page.