adding files
This commit is contained in:
parent
e8cbce6416
commit
449bb070aa
@ -5,4 +5,9 @@ steps:
|
|||||||
- name: Build Caddy Server
|
- name: Build Caddy Server
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
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
6
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user