diff options
| author | Christine Dodrill <me@christine.website> | 2018-10-19 06:58:02 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-10-19 06:58:35 -0700 |
| commit | d2ff4407993e4511e0225c12964bc07cd8d02be6 (patch) | |
| tree | 1ca621c635b568054bf8808306cf4b6baa9cfedf | |
| parent | f363c7e7eb6ca43e92624365ceab66a78d99b376 (diff) | |
| download | xesite-d2ff4407993e4511e0225c12964bc07cd8d02be6.tar.xz xesite-d2ff4407993e4511e0225c12964bc07cd8d02be6.zip | |
use GOPROXY
114 files changed, 5 insertions, 20900 deletions
@@ -1,7 +1,8 @@ -FROM xena/go:1.11 AS build -COPY . /root/go/src/github.com/Xe/site -WORKDIR /root/go/src/github.com/Xe/site -RUN GO111MODULE=on CGO_ENABLED=0 GOBIN=/root go install -v -mod=vendor ./cmd/site +FROM xena/go:1.11.1 AS build +ENV GOPROXY https://cache.greedo.xeserv.us +COPY . /site +WORKDIR /site +RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site FROM xena/alpine EXPOSE 5000 diff --git a/vendor/github.com/Xe/gopreload/.gitignore b/vendor/github.com/Xe/gopreload/.gitignore deleted file mode 100644 index 140f8cf..0000000 --- a/vendor/github.com/Xe/gopreload/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.so diff --git a/vendor/github.com/Xe/gopreload/LICENSE b/vendor/github.com/Xe/gopreload/LICENSE deleted file mode 100644 index 82248fe..0000000 --- a/vendor/github.com/Xe/gopreload/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2017 Christine Dodrill <me@christine.website> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE.
\ No newline at end of file diff --git a/vendor/github.com/Xe/gopreload/README.md b/vendor/github.com/Xe/gopreload/README.md deleted file mode 100644 index 32a3e5d..0000000 --- a/vendor/github.com/Xe/gopreload/README.md +++ /dev/null @@ -1,51 +0,0 @@ -gopreload -========= - -An emulation of the linux libc `LD_PRELOAD` except for use with Go plugins for -the addition of instrumentation and debugging utilities. - -## Pluginizer - -`pluginizer` is a bit of glue that makes it easier to turn underscore imports -into plugins: - -```console -$ go get github.com/Xe/gopreload/cmd/pluginizer -$ pluginizer -help -Usage of pluginizer: - -dest string - destination package to generate - -pkg string - package to underscore import -$ pluginizer -pkg github.com/lib/pq -dest github.com/Xe/gopreload/database/postgres -To build this plugin: - $ go build -buildmode plugin -o /path/to/output.so github.com/Xe/gopreload/database/postgres -``` - -### Database drivers - -I have included plugin boilerplate autogenned versions of the sqlite, postgres -and mysql database drivers. - -## Manhole - -[`manhole`][manhole] is an example of debugging and introspection tooling that has -been useful when debugging past issues with long-running server processes. - -## Security Implications - -This package assumes that programs run using it are never started with environment -variables that are set by unauthenticated users. Any errors in loading the plugins -will be logged using the s |
