Progress on testing provisioning on multiple distros. So far Debian and Ubuntu are working. Others need packages added.
This commit is contained in:
12
Config/ProvisionTests/Dockerfiles/ubuntu
Normal file
12
Config/ProvisionTests/Dockerfiles/ubuntu
Normal file
@@ -0,0 +1,12 @@
|
||||
# Create a VM for testing Ansible provisioning.
|
||||
|
||||
FROM ubuntu:rolling
|
||||
|
||||
RUN apt update && apt dist-upgrade -y && apt install -y git bash curl sudo
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
||||
WORKDIR /root/
|
||||
USER root
|
||||
CMD ./main.sh
|
Reference in New Issue
Block a user