adding files

This commit is contained in:
Matt Burchett 2019-08-13 16:37:12 -05:00
parent e8cbce6416
commit 449bb070aa
2 changed files with 12 additions and 1 deletions

View File

@ -5,4 +5,9 @@ steps:
- name: Build Caddy Server
image: golang
commands:
- go build -o caddy main.go
- go build -o caddy-server main.go
- name: Build Docker Image
image: docker
commands:
- docker build -t registry.syntrode.com/caddy-server:v0.0.1
- docker push registry.syntrode.com/caddy-server:v0.0.1

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM alpine:latest
RUN apk add --update --no-cache openssl-dev musl-dev zlib-dev curl tzdata
WORKDIR /root/
COPY caddy-server /root/
CMD ["./caddy-server -conf Caddyfile"]