fix: update Dockerfile to use Ubuntu base image and correct orchestrating script path
This commit is contained in:
2
.github/workflows/orchestratorci.yml
vendored
2
.github/workflows/orchestratorci.yml
vendored
@@ -43,4 +43,4 @@ jobs:
|
||||
DO_TOKEN: ${{ secrets.DO_TOKEN }}
|
||||
SSH_PRIVATE_KEY_DECODED: ${{ secrets.SSH_PRIVATE_KEY_DECODED }}
|
||||
run: |
|
||||
orchestrating.sh
|
||||
orchestrating
|
||||
@@ -1,10 +1,16 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add curl bash git doctl openssh
|
||||
FROM catthehacker/ubuntu:runner-24.04
|
||||
USER root
|
||||
RUN apt-get update && apt-get install -y curl bash git wget openssh-client
|
||||
|
||||
WORKDIR /root
|
||||
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.sh
|
||||
COPY cleanup.sh /usr/local/bin/cleanup.sh
|
||||
RUN chmod 755 /usr/local/bin/orchestrating.sh /usr/local/bin/cleanup.sh
|
||||
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"]
|
||||
Reference in New Issue
Block a user