Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793305
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
986 B
Referenced Files
None
Subscribers
None
Dockerfile
View Options
FROM ubuntu:12.04
MAINTAINER sameer@damagehead.com
ENV DEBIAN_FRONTEND noninteractive
RUN sed 's/main$/main universe/' -i /etc/apt/sources.list
RUN apt-get update # 20140310
# Fix some issues with APT packages.
# See https://github.com/dotcloud/docker/issues/1024
RUN dpkg-divert --local --rename --add /sbin/initctl && \
ln -sf /bin/true /sbin/initctl
# essentials
RUN apt-get install -y vim curl wget sudo net-tools pwgen unzip \
logrotate supervisor openssh-server && apt-get clean
# build tools
# RUN apt-get install -y gcc make && apt-get clean
# image specific
RUN apt-get install -y mysql-server default-jre-headless && apt-get clean
ADD assets/ /app/
RUN mv /app/.vimrc /app/.bash_aliases /root/
RUN chmod 755 /app/setup/install && /app/setup/install
ADD authorized_keys /root/.ssh/
RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys && chown root:root -R /root/.ssh
EXPOSE 5222
EXPOSE 7777
EXPOSE 9090
EXPOSE 9091
CMD ["/usr/bin/supervisord", "-n"]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 21:45 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2436583
Default Alt Text
Dockerfile (986 B)
Attached To
Mode
rDO Docker image for Openfire
Attached
Detach File
Event Timeline
Log In to Comment