commit
ff957f9ecb
|
@ -1,4 +1,3 @@
|
|||
DOCKER_COMPOSE_VERSION=1.22.0
|
||||
ADMIN_PASSWORD=this_is_a_fake_admin_pass
|
||||
POSTGRES_PASSWORD=fake_db_password_also
|
||||
API_HOST=10.1.10.219
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
FROM ruby:2.6.3
|
||||
# WHY: We need Postgres 10, not the default (9)
|
||||
RUN wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add -
|
||||
RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
|
||||
RUN sh -c 'VERSION_CODENAME=stretch; . /etc/os-release; echo "deb http://apt.postgresql.org/pub/repos/apt/ $VERSION_CODENAME-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
|
||||
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev \
|
||||
postgresql postgresql-contrib
|
||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||
RUN sh -c 'echo "\nPackage: *\nPin: origin deb.nodesource.com\nPin-Priority: 700\n" >> /etc/apt/preferences'
|
||||
RUN apt-get install -y nodejs
|
||||
RUN mkdir /farmbot
|
||||
WORKDIR /farmbot
|
||||
|
|
Loading…
Reference in New Issue