forked from eclipse-che/che
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHE-2977 "move the core Che Dockerfiles and Dockerfile.centos into /d…
…ockerfiles/che (eclipse-che#3318) * CHE-2977 "move the core Che Dockerfiles and Dockerfile.centos into /dockerfiles/che" merge docker.sh and che.sh. also docker.sh script is moved from the assembly folder to the docker image folder and named entrypoint.sh Change-Id: I7404f8f2896e8a7eea83ecab57a6c4c623c68abe Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
- Loading branch information
Showing
8 changed files
with
395 additions
and
296 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,4 @@ Thumbs.db | |
|
||
# Che files | ||
.che | ||
dockerfiles/che/eclipse-che.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh | ||
# Copyright (c) 2016 Codenvy, S.A. | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Eclipse Public License v1.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.eclipse.org/legal/epl-v10.html | ||
|
||
IMAGE_NAME="eclipse/che-server" | ||
source $(cd "$(dirname "$0")"; pwd)/../build.include | ||
|
||
# grab assembly | ||
DIR=$(cd "$(dirname "$0")"; pwd) | ||
if [ ! -d "${DIR}/../../assembly/assembly-main/target" ]; then | ||
echo "${ERRO}Have you built assembly/assemby-main in ${DIR}/../assembly/assembly-main 'mvn clean install'?" | ||
exit 2 | ||
fi | ||
|
||
# Use of folder | ||
BUILD_ASSEMBLY_ZIP=$(echo ${DIR}/../../assembly/assembly-main/target/eclipse-che-*.tar.gz) | ||
LOCAL_ASSEMBLY_ZIP=${DIR}/eclipse-che.tar.gz | ||
|
||
if [ -f "${LOCAL_ASSEMBLY_ZIP}" ]; then | ||
rm ${LOCAL_ASSEMBLY_ZIP} | ||
fi | ||
|
||
echo "Linking assembly ${BUILD_ASSEMBLY_ZIP} --> ${LOCAL_ASSEMBLY_ZIP}" | ||
ln ${BUILD_ASSEMBLY_ZIP} ${LOCAL_ASSEMBLY_ZIP} | ||
|
||
init | ||
build |
Oops, something went wrong.