diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a7113b11b04f311d52edf6ac6c5f7411677e1e3..971caf9423534d86ef99c6bcd841ebe5bd09ced3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,11 +20,12 @@ stages:
 ####
 # Templates:
 #   - install-aws: Install aws in a Alpine environment
+#   - nshmp-lib: Download nshmp-lib repo
 #   - static-data: Array of all static data in AWS s3
 ####
 .templates:
   install-aws: &install-aws |-
-    apk -v --update add --no-cache python py-pip groff;
+    apk -v --update add --no-cache python3 py-pip groff;
     pip install awscli;
   static-data: &static-data |-
     STATIC_DATA="
@@ -168,8 +169,7 @@ Build Image:
     - master@ghsc/nshmp/nshmp-netcdf
     - tags@ghsc/nshmp/nshmp-netcdf
   before_script:
-    - apk add --no-cache python py-pip
-    - pip install awscli
+    - *install-aws
   script:
     - |
       docker build \