diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35d524f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +# Use a base image with the necessary dependencies +FROM ubuntu:20.04 + +# Install required packages +RUN apt-get update -y && apt-get install -y \ + curl \ + python3 \ + python3-pip \ + libyaml-dev \ + git \ + crudini \ + python3-dev \ + python3-setuptools \ + libffi-dev \ + unzip \ + libssl-dev + +# Upgrade pip and install Ansible +#RUN python3 -m pip install --upgrade --force-reinstall pip && pip3 install ansible + +# Copy the entrypoint script +COPY entrypoint.sh /entrypoint.sh +COPY convert-upload-images-powervs /convert-upload-images-powervs + +# Set the entrypoint script +ENTRYPOINT ["/entrypoint.sh"] +CMD ["bash"] \ No newline at end of file diff --git a/infra-node/versions.tf b/infra-node/versions.tf index b057d5d..3d66ed3 100644 --- a/infra-node/versions.tf +++ b/infra-node/versions.tf @@ -22,12 +22,12 @@ terraform { required_providers { ibm = { source = "ibm-cloud/ibm" - version = "1.39.0" + version = "~> 1.54.0" } random = { source = "hashicorp/random" - version = "~> 2.3" + version = "~> 3.4" } } - required_version = "~> 1.2.0" + required_version = ">= 1.2.0" }