---
# System prepended metadata

title: dockerfile centos go

---

# dockerfile centos go

FROM centos:7
RUN yum update && yum install -y git && cd /tmp
ADD https://dl.google.com/go/go1.15.9.linux-amd64.tar.gz
RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go1.15.9.linux-amd64.tar.gz
RUN export PATH=$PATH:/usr/local/go/bin
ADD ./.ssh /root/.ssh
RUN git clone git@gitlab.intra-coliposte.fr:WEB/shipping/etiquettepdf.git
RUN cd etiquettepdf/masquegen-ws
RUN go build
CMD /bin/bash
