|
|
|
@ -92,7 +92,11 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /
|
|
|
|
|
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
|
|
|
|
|
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
|
|
|
|
|
|
|
|
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install docker-ce-cli
|
|
|
|
|
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install docker-ce-cli apt-file
|
|
|
|
|
RUN apt-file update
|
|
|
|
|
|
|
|
|
|
RUN curl -fsSL https://github.com/drone/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz \
|
|
|
|
|
| tar -xzf - -C /usr/bin/
|
|
|
|
|
|
|
|
|
|
ADD . /opt/workspace-repo
|
|
|
|
|
WORKDIR /opt/workspace-repo
|
|
|
|
@ -100,5 +104,3 @@ RUN go build .
|
|
|
|
|
RUN cp ./workspace /bin/workspace
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/bin/workspace", "entrypoint" ]
|
|
|
|
|
|
|
|
|
|
#"source ~/dotfiles/environment; dots pkg exec \"$@\"", "--"]
|
|
|
|
|