I hereby claim:
- I am syntaqx on github.
- I am syntaqx (https://keybase.io/syntaqx) on keybase.
- I have a public key ASCcA-f50dv386-hZHUX7naySmILHAVHX0PbuQzEyQaP1Qo
To claim this, I am signing this object:
| package main | |
| import ( | |
| "database/sql" | |
| "database/sql/driver" | |
| "errors" | |
| "log" | |
| "strings" | |
| _ "github.com/go-sql-driver/mysql" |
| # Accept image version tags to be set as a build arguments | |
| ARG GO_VERSION=1.11 | |
| ARG ALPINE_VERSION=3.8 | |
| # Throw-away builder container | |
| FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder | |
| # Install build and runtime dependencies | |
| # - Git is required for fetching Go dependencies | |
| # - Certificate-Authority certificates are required to call HTTPs endpoints |
| locals { | |
| gsuite_services = ["calendar", "drive", "groups", "mail", "sites"] | |
| } | |
| // host -a domain.io | |
| resource "google_dns_managed_zone" "domain_io" { | |
| name = "domain-io" | |
| dns_name = "domain.io." | |
| } |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| "os" |
| func (p *CmPlugin) GetMetadata() plugin.PluginMetadata { | |
| metadata := plugin.PluginMetadata{ | |
| Name: PLUGIN_NAME, | |
| Version: pluginVersion, | |
| MinCliVersion: plugin.VersionType{ | |
| Major: 0, | |
| Minor: 13, |
| ARG GO_VERSION=1.11 | |
| ARG ALPINE_VERSION=3.8 | |
| FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder | |
| WORKDIR /go/src/github.com/syntaqx/example | |
| RUN ls -alh | |
| ENTRYPOINT ["go"] |
| # Line blocks used for commenting start with a #. | |
| # | |
| # Default syntax is: | |
| # INSTRUCTION arguments | |
| # | |
| # INSTRUCTIONs are executed by order. | |
| # FROM | |
| # | |
| # It defines the base image to use to start the build process. |
| #cloud-config | |
| # Option 1 - Full installation using cURL | |
| package_update: true | |
| package_upgrade: true | |
| groups: | |
| - docker | |
| system_info: |
| resource "tls_private_key" "ca" { | |
| algorithm = "RSA" | |
| } | |
| resource "tls_self_signed_cert" "ca" { | |
| key_algorithm = "RSA" | |
| private_key_pem = "${tls_private_key.ca.private_key_pem}" | |
| subject { | |
| common_name = "${var.domain}" |