Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

dpetersen/dev-container-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-container-js

Docker Hub

A container, based on dev-container-base, for developing Javascript applications.

Usage

The base container starts an SSH server, so you can read more about that in its README. This container assumes that your GOPATH will be /home/dev/gopath. You'll probably want to volume mount a directory for this, so your changes are easy to get to if you shut down the container.

I usually start it with something like (assuming $GOPATH is ~/gopath):

docker run -d \
  -e AUTHORIZED_GH_USERS="dpetersen" \
  -p 0.0.0.0:31981:22 \
  -v $(pwd):/home/dev/app \
  dpetersen/dev-container-js:latest

It has a couple of bootstrapping scripts in the home directory. One is for installing angular-cli, since I can't remember the command. Second starts xvfb and should be run in the background if you are running tests that require Chromedriver (which is the reason this image is so enormous).

I'd advise you to set up an SSH alias as explained here.

Development

Helpful reminders on how to build, tag, and push this can be found in the Development section of the other image.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages