summaryrefslogtreecommitdiffstats
path: root/OS/Fedora
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
commita699d0d06feeb1859efea16dd6b3df17901a1bc5 (patch)
tree3a2646acb64a4a9d2440549b2a895648b9289466 /OS/Fedora
parent8829f895c890685cc25fe3022299b4275808dc06 (diff)
downloadphpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.gz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.bz2
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.xz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.zip
modif des services et ajout de memcache, apache et nodejs
Diffstat (limited to 'OS/Fedora')
-rw-r--r--OS/Fedora/Dockerfile15
-rw-r--r--OS/Fedora/README.md22
2 files changed, 14 insertions, 23 deletions
diff --git a/OS/Fedora/Dockerfile b/OS/Fedora/Dockerfile
index 00dcbc6..f574d5b 100644
--- a/OS/Fedora/Dockerfile
+++ b/OS/Fedora/Dockerfile
@@ -1,14 +1,7 @@
FROM fedora:latest
MAINTAINER Chistophe LARUE <dev@startx.fr>
-# Install packages and set up sshd
-RUN yum -y update && yum clean all
-RUN yum -y install openssh-server && yum clean all
-RUN mkdir /var/run/sshd
-RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
-
-# Add ssh keys
-ADD .ssh/authorized_keys /root/.ssh/authorized_keys
-
-EXPOSE 22
-ENTRYPOINT ["/usr/sbin/sshd", "-D"] \ No newline at end of file
+# Install minimal packages
+RUN yum -y install deltarpm pwgen \
+ && yum -y update \
+ && yum clean all
diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md
index 03b2797..ead1eae 100644
--- a/OS/Fedora/README.md
+++ b/OS/Fedora/README.md
@@ -1,33 +1,31 @@
# STARTX OS docker-images : Fedora
+Fedora
+
## Running from docker registry
- # docker run -d -p 22022:22 --name="test-fedora" -e VIRTUAL_HOST=fedora.project.startx.fr startx/fedora
+ # docker run -it startx/fedora bash
-## Running from local Dockerfile
+## Build and run from local Dockerfile
### Building docker image
Copy the sources to your docker host
- # mkdir startx-docker-images;
- # git clone https://github.com/startxfr/docker-images.git startx-docker-images/
- # cd startx-docker-images/OS/Fedora/
+ # mkdir startx-docker-images;
+ # cd startx-docker-images;
+ # git clone https://github.com/startxfr/docker-images.git .
and build the container
- # docker build --rm -t <username>/fedora .
+ # docker build --rm -t yourname/fedora OS/Fedora/
### Running local image
- # docker run -d -p 22022:22 --name="test-fedora" -e VIRTUAL_HOST=fedora.project.startx.fr <username>/ssh
-
-## Accessing server
-
- # ssh root@localhost
+ # docker run -it yourname/fedora bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/OS/Fedora)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
* [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/)
-* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/ssh/)
+* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/)