Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write about this stuff in rultor docs !!!! #20

Open
Doldrums opened this issue Nov 6, 2022 · 1 comment
Open

Write about this stuff in rultor docs !!!! #20

Doldrums opened this issue Nov 6, 2022 · 1 comment

Comments

@Doldrums
Copy link

Doldrums commented Nov 6, 2022

rultor-image/Dockerfile

Lines 152 to 170 in 29dc9e7

# Postgresql
RUN apt-get update -y --fix-missing && \
apt-get install -y postgresql-client postgresql
USER postgres
RUN /etc/init.d/postgresql start && \
psql --command "CREATE USER rultor WITH SUPERUSER PASSWORD 'rultor';" && \
createdb -O rultor rultor
EXPOSE 5432
USER root
ENV PATH="${PATH}:/usr/lib/postgresql/12/bin"
RUN echo 'export PATH=${PATH}:/usr/lib/postgresql/12/bin' >> /root/.profile
RUN initdb --version
# Postgresql service has to be started using `sudo /etc/init.d/postgresql start` in .rultor.yml
# Maven
ENV MAVEN_VERSION 3.8.6
ENV M2_HOME "/usr/local/apache-maven/apache-maven-${MAVEN_VERSION}"
RUN echo 'export M2_HOME=/usr/local/apache-maven/apache-maven-${MAVEN_VERSION}' >> /root/.profile
RUN wget --quiet "https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" && \

why u just missed this info in docs lmao
how users should understand with what config postgres is set up in the container? this applies to all other things that are pre-installed in the rultor container

@yegor256
Copy link
Owner

yegor256 commented Nov 9, 2022

@Doldrums you are welcome to submit a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants