Skip to content

Instantly share code, notes, and snippets.

@javierguerragiraldez
javierguerragiraldez / alpine.Dockerfile
Created February 27, 2020 17:26
go plugin compiler, Alpine-based
FROM golang:1.13.4-alpine
LABEL maintainer="Kong Core Team <[email protected]>"
RUN apk update && \
apk upgrade && \
apk add git \
bash \
gcc \
musl-dev \
openssl \
@javierguerragiraldez
javierguerragiraldez / go-1.13.Dockerfile
Created February 27, 2020 17:24
dockerfiles for go plugins compiling tools. generic, Debian Buster-based
FROM golang:1.13
LABEL maintainer="Kong Core Team <[email protected]>"
RUN go get github.com/Kong/go-pluginserver
VOLUME /plugins
WORKDIR /plugins
RUN (echo '#!/bin/sh' && echo 'cp /go/bin/go-pluginserver /plugins') >> /usr/local/bin/get-server
RUN (echo '#!/bin/sh' && echo 'go build -buildmode=plugin "$@"') >> /usr/local/bin/build

Keybase proof

I hereby claim:

  • I am javierguerragiraldez on github.
  • I am javier_g (https://keybase.io/javier_g) on keybase.
  • I have a public key whose fingerprint is A7B5 073F 0DB0 49A9 7006 450D 1F43 CDEA D4DC 189F

To claim this, I am signing this object:

@javierguerragiraldez
javierguerragiraldez / appbox_test.lua
Created April 22, 2015 05:57
sandbox-like app loader
local loader = require 'loader'
local app1 = loader.app('apps.simple_app', { pciaddress='0000:83:00.1', name='app1' })
local app2 = loader.app('apps.simple_app', { pciaddress='0000:83:00.2', name='app2' })
local app3 = loader.app('apps.simple_app', { pciaddress='0000:83:01.1', name='app3' })
app1.selftest()
app2.selftest()
app3.selftest()
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<polymer-element name="my-element">