Loading repository data…
Loading repository data…
tdmalone / repository
An unofficial Dockerfile for CodeBuild combining official Docker (in Docker) and Node environments.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
An unofficial Dockerfile for CodeBuild, combining the official Docker (in Docker) and Node environments.
Based on AWS' Docker 17.09 and Node 6.3.1 Dockerfiles.
For more information see the official repo.
To use this Dockerfile in your build, create a new CodeBuild project, or update an existing one. Then:
tdmalone/codebuild-docker-nodeThis will run your build with this image, which is built from this current repo.
Then, in your buildspec.yml, somewhere before you run or build a Docker image, make sure you execute this:
nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
(This comes from this AWS CodeBuild sample).
If you want to run without having to build it:
docker run --interactive --privileged --tty tdmalone/codebuild-docker-node bash
That will download and start a container with the pre-built image, running the bash shell.
Otherwise, to build it yourself:
git clone https://github.com/tdmalone/codebuild-docker-node.git to download this repository to your local machine.cd codebuild-docker-node.docker build --tag codebuild-docker-node . to build the Docker image locally.docker run --interactive --privileged --tty codebuild-docker-node bash to start the container in a bash shell.You can see the docker build and docker run references for more.
Based on CodeBuild's Docker 17.09 file, this repo:
libmysqlclient-dev=5.5.58-* due to error E: Version '5.5.58-*' for 'libmysqlclient-dev' was not foundASL.