Coder Social home page Coder Social logo

che-dockerfiles's People

Contributors

andrienkoaleksandr avatar arturgvieira avatar benoitf avatar bobmcwhirter avatar cescoffier avatar daniel-dos avatar davidfestal avatar dharmit avatar gorkem avatar heiko-braun avatar ibuziuk avatar jpinkney avatar kaloyan-raev avatar kameshsampath avatar kenfinnigan avatar l0rd avatar michalszynkiewicz avatar mkuznyetsov avatar monaka avatar mshaposhnik avatar sbryzak avatar skabashnyuk avatar slemeur avatar sr229 avatar superusercode avatar svor avatar tylerjewell avatar vinyasmusic avatar vorburger avatar zacharysang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

che-dockerfiles's Issues

alpine_jdk8 says sudo not found

Cannot use base image eclipse/alpine_jdk8. It'd be good to have a base image having the minimal requirements for Che based on Alpine directly. Without JDK even.

Unable to build image: eclipse/stack-base:ubuntu

Setting up libsvn1:amd64 (1.9.3-2ubuntu1.1) ...
Setting up patch (2.7.5-1ubuntu0.16.04.1) ...
Setting up subversion (1.9.3-2ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '8u171-b11-0ubuntu0.16.04.1' for 'openjdk-8-jdk-headless' was not found
E: Version '8u171-b11-0ubuntu0.16.04.1' for 'openjdk-8-source' was not found
The command '/bin/sh -c apt-get update &&     apt-get -y install     locales     rsync     openssh-server     sudo     procps     wget     unzip     mc     ca-certificates     curl     software-properties-common     python-software-properties     bash-completion &&     mkdir /var/run/sshd &&     sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd &&     echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers &&     useradd -u 1000 -G users,sudo,root -d /home/user --shell /bin/bash -m user &&     usermod -p "*" user &&     add-apt-repository ppa:git-core/ppa &&     add-apt-repository ppa:openjdk-r/ppa &&     apt-get update &&     sudo apt-get install git subversion -y &&     apt-get clean &&     apt-get -y autoremove &&     sudo apt-get install openjdk-8-jdk-headless=8u171-b11-0ubuntu0.16.04.1 openjdk-8-source=8u171-b11-0ubuntu0.16.04.1 -y &&     sudo update-ca-certificates -f &&     sudo sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure &&     apt-get -y clean &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Unable to build image: eclipse/stack-base:ubuntu

Reproduction Steps:

cd che-dockerfiles/recipes/stack-base/ubuntu
docker build .

Help needed in understanding the eclipse che dependency in docker Image

Hi,

I have taken the image from "FROM eclipse/ubuntu_jdk8" which has all the dependency required to create and run the eclipse che workspace. The normal size of image is around 500MB. However, the size of image is getting in GB's after adding other packages.

I am actually looking for minimum ubuntu image with eclipse che dependency. So that we can allocate minimum RAM to each workspace created in the eclipse che.

Is there any minimum ubuntu image with eclipse che dependency. or Can you please let me know what all dependency I should install in any Ubuntu image to make it run the eclipse che workspace.

Thanks.

PHP 7.1 Upgrade

Hey,
It would great to upgrade PHP to 7.1 as some libraries are already requiring it. Latest doctrine/dbal requires php: ^7.1

Ubuntu 16.04 (or greater) Stack?

Not an issue. I am requesting an Ubuntu 16.04 stack, or greater, for Codenvy because I am creating an application which is distributed primarily with snaps and it requires Ubuntu 16.04 at the minimum

Currently, the Ubuntu stack runs Ubuntu 14.04.5 LTS.

Are there plans to make a 16.04 stack? Or is there a way I can do it myself and use it in Codenvy?

ubuntu_rlang recipe not appearing in Dockerhub or in che stack library

I am seeing that there is a Dockerfile for ubuntu_rlang in this repo, but it is not published to Dockerhub, is there a reason for this?

I am currently using a custom recipe for R, but would rather use this one to avoid duplication and for organization (My custom R recipe is pretty much the same as the one in this repo, but has some dependencies added).

Build failure on `eclipse/php:gae`

Step 4/5 : RUN cd /home/user/ && wget -q https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.40.zip &&     unzip -q google_appengine_1.9.40.zip &&     rm google_appengine_1.9.40.zip &&     for f in "/home/user"; do     sudo chgrp -R 0 ${f} &&     sudo chmod -R g+rwX ${f};     done
 ---> Running in 777a99909e17
replace google_appengine/BUGS? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
(EOF or read error, treating as "[N]one" ...)
The command '/bin/sh -c cd /home/user/ && wget -q https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.40.zip &&     unzip -q google_appengine_1.9.40.zip &&     rm google_appengine_1.9.40.zip &&     for f in "/home/user"; do     sudo chgrp -R 0 ${f} &&     sudo chmod -R g+rwX ${f};     done' returned a non-zero code: 1
Unable to build image: eclipse/php:gae

Reproduction Steps:

Run ./build.sh .

che-dockerfiles build process failing with lstat lib/ypescript/lib: no such file of directory

following the instructions to build che-dockerfiles results in

Reproduction Steps:

  1. On RHEL7 and docker v 1.10.3
  2. git clone http://github.com/eclipse/che-dockerfiles
  3. cd che-dockerfiles/che-dir
  4. ./build.sh

Expected behavior:

The build.sh script succeeds.

Observed behavior:

[root@che ~]# git clone http://github.com/eclipse/che-dockerfiles
Cloning into 'che-dockerfiles'...
remote: Counting objects: 1050, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 1050 (delta 0), reused 0 (delta 0), pack-reused 1045
Receiving objects: 100% (1050/1050), 11.46 MiB | 0 bytes/s, done.
Resolving deltas: 100% (540/540), done.
[root@che ~]# cd che-dockerfiles/che-dir
[root@che che-dir]# ./build.sh
Building Docker Image from /root/che-dockerfiles directory with tag nightly
Sending build context to Docker daemon 12.61 MB
Step 1 : FROM mhart/alpine-node:base-6
Trying to pull repository registry.access.redhat.com/mhart/alpine-node ...
unknown: Not Found
Trying to pull repository docker.io/mhart/alpine-node ...
base-6: Pulling from docker.io/mhart/alpine-node
3690ec4760f9: Pull complete
3b8a35aa2847: Pull complete
Digest: sha256:f71c8647f9d632e2a9ac6e6fc3dda99eda31c130fbae05af5fabe4215c8d357a
Status: Downloaded newer image for docker.io/mhart/alpine-node:base-6
---> 2d01b9216888
Step 2 : ENV DOCKER_BUCKET get.docker.com
---> Running in 24c9f974c116
---> 2b95df9106cd
Removing intermediate container 24c9f974c116
Step 3 : ENV DOCKER_VERSION 1.6.0
---> Running in bcfbc5f60076
---> a606541de741
Removing intermediate container bcfbc5f60076
Step 4 : RUN set -x && apk add --no-cache ca-certificates curl openssl && curl -sL "https://${DOCKER_BUCKET}/builds/Linux/x86_64/docker-$DOCKER_VERSION" > /usr/bin/docker; chmod +x /usr/bin/docker && apk del curl ca-certificates openssl
---> Running in 1507b92bd7c1

  • apk add --no-cache ca-certificates curl openssl
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
    (1/5) Installing ca-certificates (20160104-r4)
    (2/5) Installing libssh2 (1.7.0-r0)
    (3/5) Installing libcurl (7.50.3-r0)
    (4/5) Installing curl (7.50.3-r0)
    (5/5) Installing openssl (1.0.2j-r0)
    Executing busybox-1.24.2-r11.trigger
    Executing ca-certificates-20160104-r4.trigger
    OK: 7 MiB in 16 packages
  • curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.6.0
  • chmod +x /usr/bin/docker
  • apk del curl ca-certificates openssl
    WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory
    WARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory
    (1/5) Purging curl (7.50.3-r0)
    (2/5) Purging openssl (1.0.2j-r0)
    (3/5) Purging libcurl (7.50.3-r0)
    (4/5) Purging ca-certificates (20160104-r4)
    Executing ca-certificates-20160104-r4.post-deinstall
    (5/5) Purging libssh2 (1.7.0-r0)
    Executing busybox-1.24.2-r11.trigger
    OK: 5 MiB in 11 packages
    ---> c789a77d2859
    Removing intermediate container 1507b92bd7c1
    Step 5 : COPY lib/typescript/lib /lib
    lstat lib/typescript/lib: no such file or directory

Che version: nightly
OS and version: RHEL 7.3 (Maipo)
Docker version:
[root@che p1]# docker version
Client:
Version: 1.10.3
API version: 1.22
Package version: docker-common-1.10.3-46.el7.14.x86_64
Go version: go1.6.2
Git commit: 5206701-unsupported
Built: Mon Aug 29 14:00:01 2016
OS/Arch: linux/amd64

Server:
Version: 1.10.3
API version: 1.22
Package version: docker-common-1.10.3-46.el7.14.x86_64
Go version: go1.6.2
Git commit: 5206701-unsupported
Built: Mon Aug 29 14:00:01 2016
OS/Arch: linux/amd64

Che install: server ( from master branch source)

Additional information:

  • Problem started happening recently, didn't happen in an older version of Che: Not Sure
  • Problem can be reliably reproduced, doesn't happen randomly: Yes

[hadoop-dev] Image build failure.

Ign:9 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib all Packages
Ign:7 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib amd64 Packages
Ign:9 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib all Packages
Ign:7 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib amd64 Packages
Ign:9 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib all Packages
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,558 kB]
Err:7 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib amd64 Packages
  404  Not Found
Get:20 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9,827 kB]
Ign:9 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib all Packages
Get:22 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [285 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,125 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [899 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [18.8 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7,965 B]
Get:29 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8,532 B]
Fetched 25.7 MB in 5s (4,799 kB/s)
Reading package lists...
W: The repository 'http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop Release' does not have a Release file.
E: Failed to fetch http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64/dists/bigtop/contrib/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c sudo apt-get update' returned a non-zero code: 100

Reproduction Steps:

cd che-dockerfiles/recipes/hadoop-dev
docker build .

When Start the docker eclipse/che and create the java workspace says error with terminal

When Start the docker eclipse/che and create the java workspace says error with terminal

docker: 1.12
OS: Ubuntu 16.04

Trace:

2016-10-28 08:16:31,466[ted-scheduler-0]  [ERROR] [.w.s.WsAgentAnalyticsAddresser 37]   - Failed to send agent analytics
java.net.UnknownHostException: install.codenvycorp.com
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[na:1.8.0_45]
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_45]
    at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_45]
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656) ~[na:1.8.0_45]
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) ~[na:1.8.0_45]
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180) ~[na:1.8.0_45]
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) ~[na:1.8.0_45]
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) ~[na:1.8.0_45]
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275) ~[na:1.8.0_45]
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371) ~[na:1.8.0_45]
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[na:1.8.0_45]
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104) ~[na:1.8.0_45]
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998) ~[na:1.8.0_45]
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[na:1.8.0_45]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512) ~[na:1.8.0_45]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440) ~[na:1.8.0_45]
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[na:1.8.0_45]
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) ~[na:1.8.0_45]
    at org.eclipse.che.wsagent.server.WsAgentAnalyticsAddresser.send(WsAgentAnalyticsAddresser.java:35) ~[classes/:4.7.2]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_45]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_45]
    at org.eclipse.che.commons.schedule.executor.LoggedRunnable.run(LoggedRunnable.java:53) [che-core-commons-schedule-4.7.2.jar:4.7.2]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_45]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_45]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]

eclipse/ubuntu_python:2.7 is missing bz2

pip install of Twisted library fails because bz2 appears to not be compiled with python

Reproduction Steps:
Dockerfile: FROM eclipse/ubuntu_python:2.7
docker build -t ubuntu-py .
docker run -it ubuntu-py bash
pip install Twisted
Could not find a version that satisfies the requirement Twisted (from versions: )
No matching distribution found for Twisted

Che version: 5.22.1
OS and version: ubuntu 16.04
Docker version: 1.12.6-cs13
Che cli.log output:

[OpenShift] Add support for MAVEN_MIRROR_URL in settings.xml

Issue #138 adds maven settings.xml to the maven JDK images , to make builds faster or make the application rely on nexus or other maven repository managers its recommended to add mirror settings to the maven setttings.xml, the mirror settings can make use of the MAVEN_MIRROR_URL like how the OpenShift JDK images use today.

Ref: https://docs.openshift.org/latest/dev_guide/app_tutorials/maven_tutorial.html#nexus-connecting-to-nexus
Sample Image: https://github.com/openshift-s2i/s2i-wildfly

Alpine stack base

Currently there are ubuntu, debian and centos stack base images.

Does anyone have a working example of a working alpine image they could contribute as a new stack base?

eclipse/php php7.0 not compatible with PHPUnit version

When trying to run a unit test in the default workspace the following log statement is shown in the console:

“PHPUnit 7.2.4 by Sebastian Bergmann and contributors.

This version of PHPUnit is supported on PHP 7.1 and PHP 7.2.
You are using PHP 7.0.30-0ubuntu0.16.04.1 (/usr/bin/php7.0).
Test suite is empty.“

Reproduction Steps:
Open a PHPUnit Testcase an run it via Run -> Test -> Run Test

Che version: 6.6.0

OS and version: Ubuntu 18.04

Docker version: Docker version 18.03.1-ce, build 9ee9f40

Che cli.log output:
Mon Jun 11 06:55:21 UTC 2018
/usr/bin/curl "-I -k https://hub.docker.com -s -o /dev/null --write-out %{http_code}"
Checking registry for version '6.6.0' images
eval BOOTSTRAP_IMAGE_ALPINE=${BOOTSTRAP_IMAGE_ALPINE:-alpine:3.4}
eval BOOTSTRAP_IMAGE_CHEIP=${BOOTSTRAP_IMAGE_CHEIP:-eclipse/che-ip:6.6.0}
eval IMAGE_INIT=${IMAGE_INIT:-eclipse/che-init:6.6.0}
eval IMAGE_CHE=${IMAGE_CHE:-eclipse/che-server:6.6.0}
eval IMAGE_COMPOSE=${IMAGE_COMPOSE:-docker/compose:1.10.1}
eval UTILITY_IMAGE_CHEACTION=${UTILITY_IMAGE_CHEACTION:-eclipse/che-action:6.6.0}
eval UTILITY_IMAGE_CHEDIR=${UTILITY_IMAGE_CHEDIR:-eclipse/che-dir:6.6.0}
eval UTILITY_IMAGE_CHETEST=${UTILITY_IMAGE_CHETEST:-eclipse/che-test:6.6.0}
eval UTILITY_IMAGE_CHEMOUNT=${UTILITY_IMAGE_CHEMOUNT:-eclipse/che-mount:6.6.0}
INFO: (che cli): 6.6.0 - using docker 18.03.1-ce / native
/usr/bin/curl "-s https://hub.docker.com/v2/repositories/eclipse/che/tags/"
docker inspect -f '{{.Id}}' che
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
000
INFO: (che config): Generating che configuration...
docker_run --env-file="/data/che.env" --env-file=/version/6.6.0/images -v "/home/thomas/che/instance":/opt/che:rw -e "CHE_ENV_FILE=/home/thomas/che/instance/config/che.env" -e "CHE_CONTAINER_ROOT=/data" -e "CHE_CONTAINER_NAME=che" -e "CHE_ENVIRONMENT=production" -e "CHE_CONFIG=/home/thomas/che/instance" -e "CHE_USER=root" -e "CHE_INSTANCE=/home/thomas/che/instance" -e "CHE_REPO=off" --entrypoint=/usr/bin/puppet eclipse/che-init:6.6.0 apply --modulepath /etc/puppet/modules/:/etc/puppet/addon/ /etc/puppet/manifests/ --show_diff >> "/data/cli.log"
Notice: Compiled catalog for d8f5ed2ed155.home in environment production in 0.35 seconds
Notice: Applied catalog in 0.33 seconds
INFO: (che config): Customizing docker-compose for running in a container
INFO: (che start): Preflight checks
mem (1.5 GiB): [OK]
disk (100 MB): [OK]
port 8080 (http): [AVAILABLE]
1ec495919961ef07e2527c7280c173f33995c7abff3a7d049c4ac75cb0507a62
/usr/bin/curl "-I localhost:32768/alpine-release -s -o /dev/null --connect-timeout 5 --write-out %{http_code}"
28
/usr/bin/curl "-I 192.168.0.100:32768/alpine-release -s -o /dev/null --connect-timeout 5 --write-out %{http_code}"
conn (browser => ws): [OK]
conn (server => ws): [OK]
fakeagent-8080

INFO: (che start): Starting containers...
docker_compose --file="/data/instance/docker-compose-container.yml" -p="che" up -d >> "/data/cli.log" 2>&1
Creating che
docker inspect -f '{{.Id}}' che
INFO: (che start): Services booting...
INFO: (che start): Server logs at "docker logs -f che"
DEBUG: Container with id d3e6a60732d8 is matching che service
DEBUG: Running state of container d3e6a60732d8 is true
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
200
DEBUG: Container with id d3e6a60732d8 is matching che service
DEBUG: Running state of container d3e6a60732d8 is true
docker inspect -f '{{.Id}}' che
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
200
docker inspect -f '{{.Id}}' che
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
200
INFO: (che start): Booted and reachable
INFO: (che start): Ver: 6.6.0
INFO: (che start): Use: http://192.168.0.100:8080
INFO: (che start): API: http://192.168.0.100:8080/swagger

Updated ruby and rubygem version numbers

The env vars pointing to the version number for Ruby and RubyGems are outdated in the ruby_rails recipe. The necessary updates are as follows:

  • RUBY_MAJOR: 2.3 -> 2.5
  • RUBY_VERSION: 2.3.0 -> 2.5.1 (Will also need to update the corresponding checksum)
  • RUBYGEMS_VERSION: 2.6.2 -> 2.7.6
  • RAILS_VERSION: 4.2.6 -> 5.2.0

php:laravel .bashrc syntax error

The eclipse/php:laravel docker image has an error on running it:

bash: /home/user/.bashrc: line 117: syntax error: unexpected end of file

The .bashrc file is missing a last line containing: "fi", the if statement is not closed. I don't understand the sed linux statement, but I suspect that the problem is here: https://github.com/eclipse/che-dockerfiles/blob/master/recipes/php/laravel/Dockerfile#L4

Reproduction Steps:

Che version: 5.8.0

OS and version: Windows 10

Docker version: 1.12.3

Che cli.log output:

Bash completion

Currently the Terminal in Che provides only basic auto completion, like:

gi[TAB]

But it does not provide auto completion for command's arguments (except for those which a file paths) like:

git sta[TAB]

The latter is usually available on the Linux desktop and I am really missing it in the Che Terminal.

To achive auto completion for command arguments the base Che Docker images must be updated in the following way:

  1. Install the bash-completion package:
sudo apt-get install bash-completion
  1. Activate the bash completion when the Terminal is started by adding the following to /etc/profile:
if [ -f /etc/bash_completion ]; then
 . /etc/bash_completion
fi

Remove JDK installation from ubuntu image

The actual ubuntu image installs the JDK 8. With this construction you have to build a complete new ubuntu image to provide JDK 11 and further. For this reason I think it will be good to remove the JDK installation form the ubuntu image and put it in the ubuntu_jdkX image. So there could be two images one for ubuntu with JDK 8 and one with JDK 11.

[OpenShift] Add support for Maven settings.xml

Currently the JDK images does not rely set any maven settings.xml. Having settings.xml will help in the users customising the maven settings

Reproduction Steps:

Che version: 5.x

OS and version: all

Docker version: all

rb-inotify requires Ruby version >= 2.2.

Similar to #177. Some recipes are using Ruby 2.1 and recent versions of rb-inotify requires Ruby version >=2.2. So they can't be built now.

Reproduction Steps:

Run build.sh in the mater branch in this repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.