https://github.com/gcpug/docker-appengine-go
https://github.com/orgs/gcpug/packages/container/package/appengine-go
https://github.com/gcpug/docker-appengine-go
google-app-engine
Last synced: 5 months ago
JSON representation
https://github.com/orgs/gcpug/packages/container/package/appengine-go
- Host: GitHub
- URL: https://github.com/gcpug/docker-appengine-go
- Owner: gcpug
- License: mit
- Created: 2018-10-16T07:47:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T07:00:27.000Z (over 4 years ago)
- Last Synced: 2023-02-27T20:09:57.034Z (over 3 years ago)
- Topics: google-app-engine
- Language: Dockerfile
- Homepage:
- Size: 41 KB
- Stars: 33
- Watchers: 10
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-appengine-go
Docker Image for the [Google App Engine Go environment](https://cloud.google.com/appengine/docs/go/) Go.
## Installation
```sh
docker pull ghcr.io/gcpug/appengine-go:latest
# Google Container Registry image is deprecated. Please migrate as soon as possible.
# docker pull gcr.io/gcpug-container/appengine-go
```
## Tags
All images installed `go` runtime, `gcloud` SDK and following components with `gcloud` way.
## Go 1.16
- Version: 1.16.7
- Base Image: [google/cloud-sdk](https://hub.docker.com/r/google/cloud-sdk/)
- [`latest`](1.16/debian/Dockerfile), [`debian`](1.16/debian/Dockerfile), [`1.16`](1.16/debian/Dockerfile), [`1.16-debian`](1.16/debian/Dockerfile)
- Components
- appengine-go
- beta
- cloud-datastore-emulator
- emulator-reverse-proxy
- pubsub-emulator
- [`slim`](1.16/slim/Dockerfile), [`1.16-slim`](1.16/slim/Dockerfile)
- Components
- appengine-go
- beta
- [`alpine`](1.16/alpine/Dockerfile), [`1.16-alpine`](1.16/alpine/Dockerfile)
- Components
- appengine-go
- beta
## Go 1.15
- Version: 1.15.14
- Base Image: [google/cloud-sdk](https://hub.docker.com/r/google/cloud-sdk/)
- [`1.15`](1.15/debian/Dockerfile), [`1.15-debian`](1.15/debian/Dockerfile)
- Components
- appengine-go
- beta
- cloud-datastore-emulator
- emulator-reverse-proxy
- pubsub-emulator
- [`1.15-slim`](1.15/slim/Dockerfile)
- Components
- appengine-go
- beta
- [`1.15-alpine`](1.15/alpine/Dockerfile)
- Components
- appengine-go
- beta
## Go 1.14
- Version: 1.14.3
- Base Image: [google/cloud-sdk](https://hub.docker.com/r/google/cloud-sdk/)
- [`1.14`](1.14/debian/Dockerfile), [`1.14-debian`](1.14/debian/Dockerfile)
- Components
- appengine-go
- beta
- cloud-datastore-emulator
- emulator-reverse-proxy
- pubsub-emulator
- [`1.14-slim`](1.14/slim/Dockerfile)
- Components
- appengine-go
- beta
- [`1.14-alpine`](1.14/alpine/Dockerfile)
- Components
- appengine-go
- beta
## Go 1.13
- Version: 1.13.11
- Base Image: [google/cloud-sdk](https://hub.docker.com/r/google/cloud-sdk/)
- [`1.13`](1.13/debian/Dockerfile), [`1.13-debian`](1.13/debian/Dockerfile)
- Components
- appengine-go
- beta
- cloud-datastore-emulator
- emulator-reverse-proxy
- pubsub-emulator
- [`1.13-slim`](1.13/slim/Dockerfile)
- Components
- appengine-go
- beta
- [`1.13-alpine`](1.13/alpine/Dockerfile)
- Components
- appengine-go
- beta
## Go 1.11
- Version: 1.11.13
- Base Image: [google/cloud-sdk](https://hub.docker.com/r/google/cloud-sdk/)
- [`1.11`](1.11/debian/Dockerfile), [`1.11-debian`](1.11/debian/Dockerfile)
- Components
- appengine-go
- beta
- cloud-datastore-emulator
- emulator-reverse-proxy
- pubsub-emulator
- [`1.11-slim`](1.11/slim/Dockerfile)
- Components
- appengine-go
- beta
- [`1.11-alpine`](1.11/alpine/Dockerfile)
- Components
- appengine-go
- beta
## Usage
To use this image, pull from [Github Container Registry](https://github.com/orgs/gcpug/packages/container/appengine-go/). See [Installation](#installation) section.
Verify the `go`, `gcloud` and `dev_appserver.py` commands:
```console
$ docker run --rm -it ghcr.io/gcpug/appengine-go:latest gcloud version
Google Cloud SDK 220.0.0
alpha 2018.10.08
app-engine-go
app-engine-java 1.9.66
app-engine-python 1.9.77
app-engine-python-extras 1.9.77
beta 2018.10.08
bigtable
bq 2.0.34
cbt
cloud-datastore-emulator 2.0.2
core 2018.10.08
datalab 20180823
gsutil 4.34
kubectl 2018.10.08
pubsub-emulator 2018.10.08
$ docker run --rm -it ghcr.io/gcpug/appengine-go:latest go version
go version go1.13.1 linux/amd64
$ docker run --rm -it ghcr.io/gcpug/appengine-go:latest which dev_appserver.py
/usr/bin/dev_appserver.py
```
### Use on Github Actions
Create `.github/workflows/xxx.yml` to your repository.
```yaml
jobs:
build:
container:
image: ghcr.io/gcpug/appengine-go
steps:
- name: Checkout repository
uses: actions/checkout@v2
- run: YOUR_TEST_COMMAND
```
### Use on Circle CI 2.0
Create `.circleci/config.yml` to your repository.
```yaml
version: 2
jobs:
build:
working_directory: /go/src/github.com/YOUR/REPO
docker:
- image: ghcr.io/gcpug/appengine-go
steps:
- checkout
- run:
command: YOUR_TEST_COMMAND
```