Skip to content

Latest commit

 

History

History
185 lines (152 loc) · 4.29 KB

README.md

File metadata and controls

185 lines (152 loc) · 4.29 KB

docker-appengine-go

Docker Image for the Google App Engine Go environment Go.

Installation

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

Go 1.15

Go 1.14

Go 1.13

Go 1.11

Usage

To use this image, pull from Github Container Registry. See Installation section.

Verify the go, gcloud and dev_appserver.py commands:

$ 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.

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.

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