This commit is contained in:
26
Dockerfile
26
Dockerfile
@@ -1,12 +1,18 @@
|
||||
FROM catthehacker/ubuntu:act-latest
|
||||
# FROM catthehacker/ubuntu:act-latest
|
||||
|
||||
RUN apt-add-repository ppa:ansible/ansible && \
|
||||
apt-get update && \
|
||||
apt-get install -y ansible && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
# RUN apt-add-repository ppa:ansible/ansible && \
|
||||
# apt-get update && \
|
||||
# apt-get install -y ansible && \
|
||||
# apt-get clean && \
|
||||
# rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN node --version && \
|
||||
npm --version && \
|
||||
ansible --version && \
|
||||
docker --version
|
||||
# RUN node --version && \
|
||||
# npm --version && \
|
||||
# ansible --version && \
|
||||
# docker --version
|
||||
FROM node:20-alpine
|
||||
|
||||
RUN apk add --no-cache python3 py3-pip && \
|
||||
pip3 install --no-cache-dir ansible-core
|
||||
|
||||
WORKDIR /workspace
|
||||
Reference in New Issue
Block a user