This commit is contained in:
+4
-8
@@ -1,10 +1,6 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
RUN apk add --no-cache ansible bash
|
||||||
RUN echo "build started.."
|
|
||||||
|
|
||||||
# Install Ansible
|
|
||||||
RUN apk add --no-cache ansible
|
|
||||||
|
|
||||||
# Verify installation
|
|
||||||
RUN ansible --version
|
RUN ansible --version
|
||||||
|
RUN useradd -m -s /bin/bash ansible
|
||||||
|
USER ansible
|
||||||
|
WORKDIR /home/ansible
|
||||||
|
|||||||
Reference in New Issue
Block a user