mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 06:58:01 +08:00
First commit
This commit is contained in:
31
bitnami/codeigniter/.codenvy.dockerfile
Normal file
31
bitnami/codeigniter/.codenvy.dockerfile
Normal file
@@ -0,0 +1,31 @@
|
||||
FROM gcr.io/stacksmith-images/ubuntu-buildpack:14.04-r8
|
||||
|
||||
MAINTAINER Bitnami <containers@bitnami.com>
|
||||
|
||||
ENV BITNAMI_APP_NAME=codeigniter \
|
||||
BITNAMI_APP_VERSION=3.1.0 \
|
||||
PATH=/opt/bitnami/java/bin:/opt/bitnami/php/bin:/opt/bitnami/mysql/bin/:$PATH
|
||||
|
||||
# Install java dependency
|
||||
RUN bitnami-pkg install java-1.8.0_91-0 --checksum 64cf20b77dc7cce3a28e9fe1daa149785c9c8c13ad1249071bc778fa40ae8773
|
||||
|
||||
# Install codeigniter related dependencies
|
||||
RUN bitnami-pkg install php-7.0.10-0 --checksum 5f2ec47fcfb2fec5197af6760c5053dd5dee8084d70a488fd5ea77bd4245c6b9
|
||||
RUN bitnami-pkg install mysql-client-10.1.13-4 --checksum 14b45c91dd78b37f0f2366712cbe9bfdf2cb674769435611955191a65dbf4976
|
||||
RUN bitnami-pkg install mariadb-10.1.14-4 --checksum 4a75f4f52587853d69860662626c64a4540126962cd9ee9722af58a3e7cfa01b
|
||||
|
||||
# Install codeigniter module
|
||||
RUN bitnami-pkg install codeigniter-3.1.0-0 --checksum 6ab5915956daab8686e48a0eb5b18155b9da2e1e46d1c4d2008d760702ec86c3
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
USER bitnami
|
||||
|
||||
WORKDIR /projects
|
||||
|
||||
# Interact with Eclipse che
|
||||
LABEL che:server:8000:ref=codeigniter che:server:8000:protocol=http
|
||||
|
||||
ENV TERM=xterm
|
||||
|
||||
CMD ["tail", "-f", "/dev/null"]
|
||||
82
bitnami/codeigniter/.codenvy.json
Normal file
82
bitnami/codeigniter/.codenvy.json
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"v": "4.0",
|
||||
"workspace": {
|
||||
"name": "codeigniter",
|
||||
"defaultEnv": "codeigniter",
|
||||
"environments": [
|
||||
{
|
||||
"name": "codeigniter",
|
||||
"recipe": null,
|
||||
"machineConfigs": [
|
||||
{
|
||||
"name": "ws-machine",
|
||||
"limits": {
|
||||
"ram": 1024
|
||||
},
|
||||
"source": {
|
||||
"type": "dockerfile",
|
||||
"location": "https://raw.githubusercontent.com/dgonzalezruiz/bitnami-docker-codeigniter/che/.codenvy.dockerfile"
|
||||
},
|
||||
"type": "docker",
|
||||
"dev": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"projects": [
|
||||
{
|
||||
"name": "codeigniter-sample",
|
||||
"type": "blank",
|
||||
"path": "/codeigniter-sample",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"location": "https://github.com/dgonzalezruiz/bitnami-docker-codeigniter",
|
||||
"parameters": {
|
||||
"branch": "che",
|
||||
"keepVcs": "true"
|
||||
}
|
||||
},
|
||||
"mixins": [
|
||||
"git",
|
||||
"pullrequest"
|
||||
],
|
||||
"attributes": {
|
||||
"local_branch": [ "contrib" ],
|
||||
"contribute_to_branch" : [ "master" ]
|
||||
},
|
||||
"modules": [],
|
||||
"problems": []
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"name": "run",
|
||||
"type": "custom",
|
||||
"commandLine": "source /opt/bitnami/stacksmith-utils.sh && print_welcome_page && cd ${current.project.path}/app_template && php -S 0.0.0.0:8000 -t $PWD",
|
||||
"attributes": {
|
||||
"previewUrl": "http://${server.port.8000}/"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "create project - run first",
|
||||
"type": "custom",
|
||||
"commandLine": "source /opt/bitnami/stacksmith-utils.sh && print_welcome_page && if [ -d ${current.project.path} ] ; then cd ${current.project.path} ; fi && nami execute codeigniter createProject app_template && php -S 0.0.0.0:8000 -t $PWD/app_template",
|
||||
"attributes": {
|
||||
"previewUrl": "http://${server.port.8000}/"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"ide": {
|
||||
"onProjectsLoaded": {
|
||||
"actions": [
|
||||
{
|
||||
"properties": {
|
||||
"name": "create project - run first"
|
||||
},
|
||||
"id": "runCommand"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user