Sha256: 3c3c1d7829dcf5d2fa984eca7e54a7072abe05adca634d46f1752685b9b43996

Contents?: true

Size: 1.17 KB

Versions: 102

Compression:

Stored size: 1.17 KB

Contents

FROM '%%base_image%%'
USER root
RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y sudo tzdata git apt-utils
RUN ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
RUN dpkg-reconfigure --frontend noninteractive tzdata

# Redmine / Código-fonte
RUN echo '%%redmine_source_git_id%%' '%%redmine_user_home%%/redmine_source_git_id'
ADD '%%redmine_source_path%%' '%%redmine_path%%/'
RUN chown -R '%%redmine_user%%:%%redmine_user%%' '%%redmine_user_home%%'

# Redmine / Configuração de instalação
USER '%%redmine_user%%'
WORKDIR '%%redmine_user_home%%'
COPY install_settings.sh "%%redmine_path%%/config/install.sh"

# Redmine / Instalação
USER '%%redmine_user%%'
WORKDIR '%%redmine_user_home%%'
RUN SKIP_DATABASE='%%skip_database%%' \
  '%%redmine_path%%/plugins/redmine_installer/installer/run.sh' '%%installer_target_task%%'

# Apache / Configuração do virtualhost
%%apache_setup%%

# Portas
EXPOSE 80/tcp 443/tcp 22/tcp

# Execução
USER root
COPY start.sh '%%start_path%%'
RUN /bin/chmod +x '%%start_path%%'
RUN /bin/chown '%%redmine_user%%:%%redmine_user%%' '%%start_path%%'
USER '%%redmine_user%%'
WORKDIR '%%redmine_user_home%%'
CMD '%%start_path%%'

Version data entries

102 entries across 102 versions & 3 rubygems

Version Path
eac_tools-0.6.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
eac_tools-0.5.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
eac_tools-0.4.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-eac_redmine_base0-0.8.0 template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
eac_tools-0.3.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
eac_tools-0.2.2 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-eac_redmine_base0-0.7.1 template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-eac_redmine_base0-0.7.0 template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.120.2 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.120.1 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-eac_redmine_base0-0.6.1 template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.120.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.119.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-eac_redmine_base0-0.6.0 template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.118.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-eac_redmine_base0-0.5.2 template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.117.3 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.117.2 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.117.1 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
avm-tools-0.117.0 sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template