Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.85 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.85 KB

Docker Cloud Automated build Docker Cloud Build Status

Supported tags and respective Dockerfile links

Simple Tags

Quick reference

What is gofresh ?

The purpose of gofresh is to provide a container which include the fresh command line tool to improve development efficiency with golang.

You should not use this in production !

How to use this image

With docker-compose

Inside your project directory you must have theses two files

.env

...

WORKDIR=github.com/you_username/your_project

docker-compose.yml

version: '3'

services:
  app:
    image: wizardstech/gofresh:1.12-alpine
    working_dir: /go/src/${WORKDIR}
    environment:
      WORKDIR: $WORKDIR
    volumes:
      - .:/go/src/${WORKDIR}

Then, simply run docker-compose up -d, that's it !