docker-appengine-go icon indicating copy to clipboard operation
docker-appengine-go copied to clipboard

https://github.com/orgs/gcpug/packages/container/package/appengine-go

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

  • Version: 1.16.7

  • Base Image: google/cloud-sdk

  • latest, debian, 1.16, 1.16-debian

    • Components
      • appengine-go
      • beta
      • cloud-datastore-emulator
      • emulator-reverse-proxy
      • pubsub-emulator
  • slim, 1.16-slim

    • Components
      • appengine-go
      • beta
  • alpine, 1.16-alpine

    • Components
      • appengine-go
      • beta

Go 1.15

  • Version: 1.15.14

  • Base Image: google/cloud-sdk

  • 1.15, 1.15-debian

    • Components
      • appengine-go
      • beta
      • cloud-datastore-emulator
      • emulator-reverse-proxy
      • pubsub-emulator
  • 1.15-slim

    • Components
      • appengine-go
      • beta
  • 1.15-alpine

    • Components
      • appengine-go
      • beta

Go 1.14

  • Version: 1.14.3

  • Base Image: google/cloud-sdk

  • 1.14, 1.14-debian

    • Components
      • appengine-go
      • beta
      • cloud-datastore-emulator
      • emulator-reverse-proxy
      • pubsub-emulator
  • 1.14-slim

    • Components
      • appengine-go
      • beta
  • 1.14-alpine

    • Components
      • appengine-go
      • beta

Go 1.13

  • Version: 1.13.11

  • Base Image: google/cloud-sdk

  • 1.13, 1.13-debian

    • Components
      • appengine-go
      • beta
      • cloud-datastore-emulator
      • emulator-reverse-proxy
      • pubsub-emulator
  • 1.13-slim

    • Components
      • appengine-go
      • beta
  • 1.13-alpine

    • Components
      • appengine-go
      • beta

Go 1.11

  • Version: 1.11.13

  • Base Image: google/cloud-sdk

  • 1.11, 1.11-debian

    • Components
      • appengine-go
      • beta
      • cloud-datastore-emulator
      • emulator-reverse-proxy
      • pubsub-emulator
  • 1.11-slim

    • Components
      • appengine-go
      • beta
  • 1.11-alpine

    • Components
      • appengine-go
      • beta

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