16 lines
559 B
Docker
16 lines
559 B
Docker
FROM catthehacker/ubuntu:runner-24.04
|
|
USER root
|
|
RUN apt-get update && apt-get install -y curl bash git wget openssh-client
|
|
|
|
RUN wget https://github.com/digitalocean/doctl/releases/download/v1.141.0/doctl-1.141.0-linux-amd64.tar.gz \
|
|
&& tar -xvf doctl-1.141.0-linux-amd64.tar.gz \
|
|
&& mv doctl /usr/local/bin \
|
|
&& rm doctl-1.141.0-linux-amd64.tar.gz
|
|
|
|
COPY orchestrating.sh /usr/local/bin/orchestrating
|
|
COPY cleanup.sh /usr/local/bin/cleanup
|
|
RUN chmod 755 /usr/local/bin/orchestrating /usr/local/bin/cleanup
|
|
|
|
USER act
|
|
|
|
CMD ["tail" ,"-f" ,"/dev/null"] |