Sign inSign up

tsari/build-server

By tsari

Updated over 9 years ago

@deprecated Docker container for building our web app without the need of modifying the host.

Image
0

2.1K

tsari/build-server repository overview

build-server

Docker container for building our web app without the need of modifying the host.

Usage

Run the container from your project root directory.

#!/bin/bash
docker run -it --rm \
    -e "USER" \
    -e "UID=$(id -u)" \
    -e "GID=$(id -g)" \
    -e "HOME" \
    -v /home/$USER:/home/$USER \
    -v /etc/localtime:/etc/localtime:ro \
    -v $PWD:/app \
tsari/build-server

This runs the container with the common settings. It requires a build/ directory in your project root. From the build dir it runs a robo install.

You can run different build commands by providing an alternative command on startup.

#!/bin/bash
    docker run -it --rm \
        -e "USER" \
        -e "UID=$(id -u)" \
        -e "GID=$(id -g)" \
        -e "HOME" \
        -v /home/$USER:/home/$USER \
        -v /etc/localtime:/etc/localtime:ro \
        -v $PWD:/app \
    tsari/build-server YOUR_COMMAND "@"

Tag summary

Content type

Image

Digest

sha256:25943fc81

Size

222.6 MB

Last updated

over 9 years ago

docker pull tsari/build-server