-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
For local development, it is often preferred to be able to run services (like leo) in isolation from the developer's host machine by using Docker containers.
This sample Dockerfile is doing the trick for my current development needs:
FROM node:8-slim
RUN apt-get update \
&& apt-get install -y \
screen \
vim \
groff \
less \
python-dev \
python-pip \
libssl-dev \
&& pip install --upgrade pip \
&& pip install awscli \
&& yarn global add leo-cli \
&& yarn global add mocha
&& mkdir /opt/leo-bus
VOLUME /opt/leo-bus
WORKDIR /opt/leo-bus
ENTRYPOINT /bin/bash
Originally I set up the docker image to build node6.10 but based on feedback from your team, switched to node8.
What would be ideal is to not only have this added as a Dockerfile into the nodejs sdk, but to then have official published docker images available for the community in the docker store.
Metadata
Metadata
Assignees
Labels
No labels