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

Docker Support #20

Open
noah-goodrich opened this issue Mar 21, 2018 · 0 comments
Open

Docker Support #20

noah-goodrich opened this issue Mar 21, 2018 · 0 comments

Comments

@noah-goodrich
Copy link

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.

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

1 participant