Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/denismakogon/oraclelinux-golang
- Owner: denismakogon
- License: apache-2.0
- Created: 2021-08-29T19:28:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-29T21:06:03.000Z (about 3 years ago)
- Last Synced: 2023-04-12T17:16:04.970Z (over 1 year ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```