File: Dockerfile

package info (click to toggle)
goiardi 0.11.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,728 kB
  • sloc: sql: 4,994; makefile: 156; sh: 95; python: 30
file content (21 lines) | stat: -rw-r--r-- 672 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM golang:1.9

# A Dockerfile that lets you run the local source tree of goiardi easily
# locally. See https://hub.docker.com/r/ctdk/goiardi/ for official goiardi
# docker images and https://github.com/ctdk/goiardi-docker for the sources of
# those docker images.

RUN mkdir -p /go/src/github.com/ctdk/goiardi
RUN mkdir -p /etc/goiardi
RUN mkdir -p /var/lib/goiardi/lfs

COPY ./etc/docker-goiardi.conf /etc/goiardi/goiardi.conf

WORKDIR /go/src/github.com/ctdk/goiardi

# this will ideally be built by the ONBUILD below ;)
CMD ["goiardi", "-c", "/etc/goiardi/goiardi.conf"]

COPY . /go/src/github.com/ctdk/goiardi
RUN go get -v -d
RUN go install github.com/ctdk/goiardi