-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: rebase images on gliderlabs/alpine for smaller size
quay.io/iseexchange/tacstack 1.767 GB <--- before this commit tacstack 779.8 MB <--- after this commit
- Loading branch information
1 parent
cbd4828
commit 6ea6b8b
Showing
26 changed files
with
82 additions
and
238 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
FROM gliderlabs/alpine:latest | ||
|
||
# Please list packages, one per line, in alpha order. | ||
RUN apk-install \ | ||
alpine-sdk \ | ||
apache2 \ | ||
bash \ | ||
bash-completion \ | ||
libffi \ | ||
libffi-dev \ | ||
libxml2 \ | ||
libxml2-dev \ | ||
libxslt \ | ||
libxslt-dev \ | ||
mysql \ | ||
mysql-client \ | ||
mysql-dev \ | ||
openssh \ | ||
openssh-client \ | ||
php \ | ||
php-dev \ | ||
php-gd \ | ||
php-memcache \ | ||
phpmyadmin \ | ||
php-mysql \ | ||
php-pspell \ | ||
php-snmp \ | ||
php-xml \ | ||
php-xmlrpc \ | ||
py-libxml2 \ | ||
py-libxslt \ | ||
py-nose \ | ||
py-pip \ | ||
python \ | ||
python-dev \ | ||
subversion \ | ||
supervisor \ | ||
vim \ | ||
; | ||
|
||
RUN pip install "pip>=1.4,<1.5" --upgrade | ||
RUN pip install MySQL-python robotframework lxml python-etcd | ||
|
||
# Configure sshd. | ||
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key && ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key | ||
RUN sed -ri 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config && echo 'root:changeme' | chpasswd | ||
|
||
# Ports: 22=ssh, 80=http, 3306=mysql, 18900=MAP 18901=RobotTestPort | ||
EXPOSE 22 80 3306 18900 18901 | ||
|
||
COPY src / | ||
|
||
# Start mysql service and create admin user with changeme password | ||
#RUN /etc/init.d/mysql setup; \ | ||
# /etc/init.d/mysql start; \ | ||
# sleep 10s; \ | ||
# echo "CREATE USER 'admin'@'localhost' IDENTIFIED BY 'changeme'; GRANT ALL PRIVILEGES ON *.* TO admin@'%' WITH GRANT OPTION; FLUSH PRIVILEGES; SET PASSWORD FOR admin@'%'=PASSWORD('changeme');" | mysql | ||
|
||
CMD ["supervisord", "-n"] |
File renamed without changes.
0
src/files/MAP_Server → app/src/etc/init.d/MAP_Server
100644 → 100755
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 @@ | ||
.bashrc |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
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,4 @@ | ||
FROM gliderlabs/alpine:latest | ||
|
||
VOLUME /var/ftp/pub/uploads | ||
CMD /bin/sh |
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,3 @@ | ||
#!/bin/sh | ||
|
||
docker build -t tacstack app/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.