从命令行安装完整的日食?

问题描述 投票:0回答:1

我想为开发人员提供一个随时可用的eclipse环境,其中包含所有需要的插件。我想让安装重现。怎么自动完成?

eclipse installation
1个回答
0
投票

这是一个Dockerfile片段,完全从命令行向GE / PMD安装新的eclipse到/ opt / eclipse。

对于第一次运行,您可以浏览ftp站点以下载正确的版本。

对于第二次运行,您可以从“已安装的内容”中找出插件ID,并从“安装新软件”中重新发布。虽然我不知道可靠的方法来找出市场插件的回购,但到目前为止,我很幸运谷歌。

RUN wget "http://ftp.halifax.rwth-aachen.de/eclipse//technology/epp/downloads/release/2019-03/R/eclipse-jee-2019-03-R-linux-gtk-x86_64.tar.gz" -O /tmp/eclipse.tar.gz;\
    cd /opt ; tar xzf /tmp/eclipse.tar.gz;\
    rm /tmp/eclipse.tar.gz
RUN /opt/eclipse/eclipse \
    -application org.eclipse.equinox.p2.director \
    -destination /opt/eclipse \
    -bundlepool /opt/eclipse \
    -profile SDKProfile \
    -repository https://dl.bintray.com/pmd/pmd-eclipse-plugin/releases/4.2.0.v20190331-1136 \
    -repository http://download.eclipse.org/tools/gef/updates/releases/5.0.0_gef-master_4403 \
    -repository http://download.eclipse.org/releases/2019-03 \
    -installIUs net.sourceforge.pmd.eclipse.feature.group \
    -installIUs org.apache.commons.io \
    -installIUs org.apache.commons.lang3 \
    -installIUs org.eclipse.xtext.sdk.feature.group \
    -installIUs org.eclipse.emf.sdk.feature.group \
    -installIUs org.eclipse.sdk.ide \
    -installIUs org.junit \
    -installIUs org.eclipse.fx.runtime.min.feature.feature.group \
    -installIUs org.eclipse.fx.runtime.min.feature.feature.group \
    -installIUs org.eclipse.gef.common.source.feature.group \
    -installIUs org.eclipse.gef.common.feature.group \
    -installIUs org.eclipse.gef.common.sdk.feature.group \
    -installIUs org.eclipse.gef.geometry.sdk.feature.group \
    -installIUs org.eclipse.gef.fx.sdk.feature.group \
    -installIUs org.eclipse.gef.mvc.sdk.feature.group \
    -installIUs org.eclipse.gef.mvc.examples.source.feature.group \
    -installIUs org.eclipse.gef.layout.sdk.feature.group \
    -installIUs org.eclipse.gef.graph.sdk.feature.group \
    -installIUs org.eclipse.gef.zest.sdk.feature.group \
    -installIUs org.eclipse.gef.zest.examples.source.feature.group \
    -installIUs org.eclipse.gef.dot.sdk.feature.group \
    -installIUs org.eclipse.gef.cloudio.sdk.feature.group \
    -noSplash
© www.soinside.com 2019 - 2024. All rights reserved.