Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/denismakogon/oraclelinux-golang

Oracle Linux Golang Docker images
https://github.com/denismakogon/oraclelinux-golang

Last synced: 20 days ago
JSON representation

Oracle Linux Golang Docker images

Awesome Lists containing this project

README

        

# Golang on Oracle Linux Docker images

## How to build Golang 1.17
```shell
docker build -t denismakogon/oraclelinux-golang:7-1.17 --build-arg OEL_BASE_IMAGE="oraclelinux:7-slim" --build-arg GOLANG_VERSION=1.17 -f Dockerfile .

docker build -t denismakogon/oraclelinux8-golang:8-1.17 --build-arg OEL_BASE_IMAGE="oraclelinux:8-slim" --build-arg GOLANG_VERSION=1.17 -f Dockerfile .
```

## How to build Golang specific version
```shell
docker build -t /oraclelinux-golang:7- \
--build-arg OEL_BASE_IMAGE="oraclelinux:7-slim" \
--build-arg GOLANG_VERSION= \
--build-arg GO_BINARY_SHA256=
-f Dockerfile .
```

## How to use

### Oracle Linux 7
```dockerfile
FROM denismakogon/oraclelinux-golang:7-1.17 as build-stage
# do you work here
FROM oraclelinux:7-slim
```

### Oracle Linux 8
```dockerfile
FROM denismakogon/oraclelinux-golang:8-1.17 as build-stage
# do you work here
FROM oraclelinux:8-slim
```