From 6ba97afc3538724141c334f6d7779617d06d8e15 Mon Sep 17 00:00:00 2001 From: Cedric Staub Date: Sun, 9 Aug 2020 23:56:25 +0000 Subject: [PATCH] Fix up references after repo move --- .travis.yml | 2 +- Dockerfile | 12 +++++------- Dockerfile-test | 10 ++++------ Makefile | 6 +++--- README.md | 8 ++++---- auth/auth.go | 2 +- auth/auth_test.go | 2 +- doc.go | 2 +- docs/ACCESS-FLAGS.md | 4 ++-- docs/CROSS-COMPILE.md | 2 +- docs/spiffe-workload-api-demo/README.md | 2 +- go.mod | 2 +- main.go | 10 +++++----- main_test.go | 2 +- signals.go | 2 +- tls.go | 2 +- 16 files changed, 33 insertions(+), 37 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd737f8b048..4bff763abf6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ install: # Build Docker container - make docker-build # Make sure Docker image runs - - docker run --rm squareup/ghostunnel --version + - docker run --rm ghostunnel/ghostunnel --version # Cross-compile dist binaries - GO_VERSION=${TRAVIS_GO_VERSION} VERSION=${TRAVIS_TAG} make -f Makefile.dist dist diff --git a/Dockerfile b/Dockerfile index 932f133a2e4..04242c5b86f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,21 @@ -# Dockerfile for squareup/ghostunnel, useful as a basis for other images. +# Dockerfile for ghostunnel/ghostunnel, useful as a basis for other images. # # To build this image: -# docker build -t squareup/ghostunnel . +# docker build -t ghostunnel/ghostunnel . # # To run ghostunnel from the image (for example): -# docker run --rm squareup/ghostunnel --version +# docker run --rm ghostunnel/ghostunnel --version FROM golang:1.14.7-alpine as build -MAINTAINER Cedric Staub "cs@squareup.com" - # Dependencies RUN apk add --no-cache --update gcc musl-dev libtool make git # Copy source -COPY . /go/src/github.com/square/ghostunnel +COPY . /go/src/github.com/ghostunnel/ghostunnel # Build -RUN cd /go/src/github.com/square/ghostunnel && \ +RUN cd /go/src/github.com/ghostunnel/ghostunnel && \ GO111MODULE=on make clean ghostunnel && \ cp ghostunnel /usr/bin/ghostunnel diff --git a/Dockerfile-test b/Dockerfile-test index 73a903e9f58..b153f076352 100644 --- a/Dockerfile-test +++ b/Dockerfile-test @@ -1,25 +1,23 @@ # Dockerfile for running integration tests, includes PKCS11/SoftHSM setup. # # Build image: -# docker build --build-arg GO_VERSION=[VERSION] -t squareup/ghostunnel-test -f Dockerfile-test . +# docker build --build-arg GO_VERSION=[VERSION] -t ghostunnel/ghostunnel-test -f Dockerfile-test . # # Run integration tests: -# docker run -v /dev/log:/dev/log -v $PWD:/go/src/github.com/square/ghostunnel squareup/ghostunnel-test +# docker run -v /dev/log:/dev/log -v $PWD:/go/src/github.com/ghostunnel/ghostunnel ghostunnel/ghostunnel-test ARG GO_VERSION FROM golang:${GO_VERSION} -MAINTAINER Cedric Staub "cs@squareup.com" - # Install build dependencies RUN apt-get update && \ apt-get install -y build-essential python3-minimal netcat softhsm2 rsyslog git python3-distutils