Created
September 14, 2017 23:00
-
-
Save akiko-pusu/0433cb37f21e36c45dbe40aab2b7ab95 to your computer and use it in GitHub Desktop.
Dockerfile
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
version: '2' | |
services: | |
redmine: | |
build: | |
context: . | |
volumes: | |
- ../.:/tmp/redmine-centos-ansible | |
ports: | |
- "8080:80" | |
stdin_open: true | |
tty: true | |
privileged: true |
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
FROM centos:7 | |
MAINTAINER Tatsuya Saito <twopackas@gmail.com> | |
RUN yum -y update && \ | |
yum install -y epel-release && \ | |
yum-config-manager --enable epel | |
RUN rm -f /etc/rpm/macros.image-language-conf && \ | |
sed -i '/^override_install_langs=/d' /etc/yum.conf && \ | |
yum -y reinstall glibc-common && \ | |
yum clean all | |
ENV LANG="ja_JP.UTF-8" \ | |
LANGUAGE="ja_JP:ja" \ | |
LC_ALL="ja_JP.UTF-8" | |
RUN yum install -y which && \ | |
yum install -y selinux-policy && \ | |
yum install -y firewalld && \ | |
yum install -y ansible git | |
RUN mkdir /tmp/redmine-centos-ansible | |
#WORKDIR /tmp | |
#RUN git clone -b 3.4-unofficialcooking https://github.com/y503unavailable/redmine-centos-ansible.git | |
WORKDIR /tmp/redmine-centos-ansible | |
EXPOSE 80 | |
#CMD ansible-playbook -i hosts site.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment