mirror of
https://github.com/docker/docs.git
synced 2026-03-30 15:58:53 +07:00
18 lines
407 B
Docker
18 lines
407 B
Docker
FROM golang
|
|
|
|
COPY . /go/src/github.com/docker/vetinari
|
|
|
|
RUN chmod 777 /tmp/
|
|
|
|
RUN mkdir /tmp/sqlite/
|
|
|
|
RUN apt-get update && apt-get install -y libsqlite3-dev
|
|
|
|
RUN GOPATH=/go/:/go/src/github.com/docker/vetinari/Godeps/_workspace go install github.com/docker/vetinari/cmd/vetinari-server
|
|
|
|
EXPOSE 4444
|
|
|
|
WORKDIR /go/src/github.com/docker/vetinari
|
|
|
|
CMD vetinari-server -config cmd/vetinari-server/dev-config.json
|