UNCLASSIFIED

Commit 1eb642d5 authored by sean.melissari's avatar sean.melissari
Browse files

go v1.16.7

parent 789f7e7c
Pipeline #409886 passed with stages
in 12 minutes and 53 seconds
...@@ -2,11 +2,15 @@ ARG BASE_REGISTRY=registry1.dso.mil ...@@ -2,11 +2,15 @@ ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8 ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8
ARG BASE_TAG=8.4 ARG BASE_TAG=8.4
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as build ARG GOLANG_IMAGE=ironbank/google/golang/golang-1.16
ARG GOLANG_TAG=1.16.7
FROM ${BASE_REGISTRY}/${GOLANG_IMAGE}:${GOLANG_TAG} as build
USER root
COPY libgit2.tar.gz / COPY libgit2.tar.gz /
RUN dnf install -y cmake gcc golang make openssl-devel python3 && \ RUN dnf install -y cmake gcc make openssl-devel python3 && \
mkdir -p /usr/local/src/libgit2/build && \ mkdir -p /usr/local/src/libgit2/build && \
tar -zxf /libgit2.tar.gz -C /usr/local/src/libgit2 --strip-components=1 && \ tar -zxf /libgit2.tar.gz -C /usr/local/src/libgit2 --strip-components=1 && \
cd /usr/local/src/libgit2/build && \ cd /usr/local/src/libgit2/build && \
......
...@@ -15,6 +15,8 @@ tags: ...@@ -15,6 +15,8 @@ tags:
args: args:
BASE_IMAGE: "redhat/ubi/ubi8" BASE_IMAGE: "redhat/ubi/ubi8"
BASE_TAG: "8.4" BASE_TAG: "8.4"
GOLANG_IMAGE: "google/golang/golang-1.16"
GOLANG_TAG: "1.16.7"
# Docker image labels # Docker image labels
labels: labels:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment