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 && \
|
# RUN apt-add-repository ppa:ansible/ansible && \
|
||||||
apt-get update && \
|
# apt-get update && \
|
||||||
apt-get install -y ansible && \
|
# apt-get install -y ansible && \
|
||||||
apt-get clean && \
|
# apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
# rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN node --version && \
|
# RUN node --version && \
|
||||||
npm --version && \
|
# npm --version && \
|
||||||
ansible --version && \
|
# ansible --version && \
|
||||||
docker --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