changeset 438:5308c6fb1028

USASR-5154 try running before getting version
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 27 Sep 2023 13:29:53 -0400
parents fc7753d58b24
children 67bb49975a2c
files utils/Dockerfile
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/utils/Dockerfile	Wed Sep 27 13:28:57 2023 -0400
+++ b/utils/Dockerfile	Wed Sep 27 13:29:53 2023 -0400
@@ -1,3 +1,7 @@
+RUN sudo mkdir -p /etc/apt/keyrings \
+    && sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg \
+    && sudo chmod a+r /etc/apt/keyrings/docker.gpg
+
 FROM ubuntu:latest
 
 MAINTAINER Dave Smith smith@nwoca.org
@@ -5,9 +9,6 @@
 ENV SSDT_HOME=/ssdt \
     SSDT_DOCKER=http://hg.ssdt-ohio.org/public/ssdt-docker/
 
-RUN sudo mkdir -p /etc/apt/keyrings \
-    && sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg \
-    && sudo chmod a+r /etc/apt/keyrings/docker.gpg
 
 RUN apt-get update -y