File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,16 +47,16 @@ RUN \
4747RUN /usr/bin/curl -L -J "https://packages.opentofu.org/opentofu/tofu/packages/rpm_any/rpm_any/tofu-1.10.6-1.x86_64.rpm/download.rpm?distro_version_id=227" --output "opentofu.rpm" \
4848 && rpm -ivh opentofu.rpm
4949
50- USER ${USER_NAME}
51-
52- WORKDIR /home/${USER_NAME}
53-
5450RUN /usr/bin/curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" --output "awscliv2.zip" \
5551 && unzip awscliv2.zip \
56- && sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update \
52+ && ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update \
5753 && rm -fr awscliv2.zip \
5854 && rm -fr ./aws
5955
56+ USER ${USER_NAME}
57+
58+ WORKDIR /home/${USER_NAME}
59+
6060# installing GHC, cabal and stack (better not use stack though)
6161RUN \
6262 ghcup -v install ghc --force ${VERSION_GHC} && \
You can’t perform that action at this time.
0 commit comments