harbor/make/ubuntu/jobservice/Dockerfile

15 lines
313 B
Docker
Raw Normal View History

FROM golang:1.7.3
2016-10-19 08:32:00 +02:00
MAINTAINER jiangd@vmware.com
RUN apt-get update && apt-get install -y libldap2-dev \
&& rm -r /var/lib/apt/lists/*
RUN mkdir /harbor/
COPY ./make/dev/jobservice/harbor_jobservice /harbor/
RUN chmod u+x /harbor/harbor_jobservice
WORKDIR /harbor/
ENTRYPOINT ["/harbor/harbor_jobservice"]