Add trusted certificates from build environment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7ea69bbd69
commit
65a7ac04f2
@ -18,6 +18,8 @@ steps:
|
||||
- go version
|
||||
- go get
|
||||
- go build -a -ldflags '-w'
|
||||
- cp /usr/local/go/lib/time/zoneinfo.zip .
|
||||
- cp /etc/ssl/certs/ca-certificates.crt .
|
||||
|
||||
- name: package in docker container
|
||||
image: plugins/docker
|
||||
|
@ -4,6 +4,10 @@ COPY public public
|
||||
COPY templates templates
|
||||
COPY covid19-edmonton .
|
||||
|
||||
# These must be supplied. In the CICD pipeline, .drone.yml, this is available from the build environment
|
||||
COPY ca-certificates.crt /etc/ssl/certs/
|
||||
COPY zoneinfo.zip ./zoneinfo.zip
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "./covid19-edmonton", "-web"]
|
||||
|
Loading…
Reference in New Issue
Block a user