Sign inSign up

adamcbuckley/cherry

By adamcbuckley

•Updated almost 4 years ago

Java + Node + PostgreSQL

Image
0

2.1K

adamcbuckley/cherry repository overview

FROM openjdk

⁠Install Node.js

RUN curl -sL https://deb.nodesource.com/setup_8.x⁠ | bash && apt-get install -y nodejs

⁠Install PostgreSQL

RUN echo "deb http://apt.postgresql.org/pub/repos/apt/⁠ stretch-pgdg main" > /etc/apt/sources.list.d/pgdg.list
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc⁠ | apt-key add -
&& apt-get update
&& apt-get install -y postgresql-10
&& service postgresql start
&& su -c "psql -c "ALTER USER postgres WITH PASSWORD 'password';"" postgres
&& sed -i 's/peer$/md5/g' /etc/postgresql/10/main/pg_hba.conf

Tag summary

Content type

Image

Digest

sha256:6be006115…

Size

390.7 MB

Last updated

almost 4 years ago

docker pull adamcbuckley/cherry