From b249ded93a9c943ab151cd5f4121611963944151 Mon Sep 17 00:00:00 2001 From: Winston Astrachan Date: Tue, 30 Jan 2024 14:06:12 -0500 Subject: [PATCH] fix: install ansible galaxy deps as ansible user --- Dockerfile | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index db95d08..bf5352d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,19 @@ ENV PYTHONUNBUFFERED=1 \ LC_ALL="C.UTF-8" \ LC_CTYPE="C.UTF-8" +# Create app directory +RUN set -eux; \ + mkdir /app +WORKDIR /app + +# Create user for ssh +RUN <