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