Tag: docker codenvy

添加postgres Codenvy堆栈食谱(dockerfile)

我是一个新的Codenvy用户。 我正在尝试在Codenvy中构build一个运行postgres的“Stack”。 我正在使用以下配方创build我的堆栈。 (使用https://github.com/eclipse/che-dockerfiles/blob/master/recipes/ubuntu_jdk8/Dockerfile作为起点) 这个配方创build了一个包含Eclipse Che,Maven和Tomcat的Codenvy服务器。 我需要添加Ant和Postgres到这个configuration。 我能够添加ant。 我目前的挑战是添加Postgres到这个configuration。 这是我目前的食谱。 FROM eclipse/stack-base:ubuntu EXPOSE 4403 8000 8080 9876 22 LABEL che:server:8080:ref=tomcat8 che:server:8080:protocol=http che:server:8000:ref=tomcat8-debug che:server:8000:protocol=http che:server:9876:ref=codeserver che:server:9876:protocol=http ENV MAVEN_VERSION=3.3.9 \ ANT_VERSION=1.10.1 \ JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 \ TOMCAT_HOME=/home/user/tomcat8 \ TERM=xterm ENV M2_HOME=/home/user/apache-maven-$MAVEN_VERSION ENV ANT_HOME=/home/user/ant-$ANT_VERSION ENV PATH=$JAVA_HOME/bin:$M2_HOME/bin:$ANT_HOME/bin:$PATH RUN mkdir /home/user/tomcat8 /home/user/apache-maven-$MAVEN_VERSION $ANT_HOME && \ wget -qO- "https://www.apache.org/dist/ant/binaries/apache-ant-$ANT_VERSION-bin.tar.gz" | tar -zx –strip-components=1 […]

你如何安装apache服务器(httpd)codenvy?

我想在我的codenvy机器上有一个简单的httpd服务器来运行一个前端的web应用程序。 我如何安装它?