forked from joyent/conch-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
42 lines (33 loc) · 833 Bytes
/
Dockerfile.dev
File metadata and controls
42 lines (33 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get upgrade -y --no-install-recommends && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
carton \
curl \
git \
libssl-dev \
libzip-dev \
perl-doc \
unzip \
postgresql \
libpq-dev \
&& apt-get clean
RUN mkdir -p /app/conch
WORKDIR /app/conch
COPY . /app/conch
ARG VCS_REF="master"
ARG VERSION="v0.0.0-dirty"
ENV LANG C.UTF-8
ENV EV_EXTRA_DEFS -DEV_NO_ATFORK
ENV MOJO_CONFIG /app/conch/etc/conch.conf
# The port hypnotoad listens on is defined in its config so the exposed port
# may need to be changed at runtime to match that config.
ENV MOJO_LISTEN http://0.0.0.0:5000
EXPOSE 5000
ENV HARNESS_OPTIONS j6:c
ENTRYPOINT ["make"]
CMD [ "forcebuild", "test"]
# vim: se syn=dockerfile: