Browse Source

fix

master
cobb 4 years ago
parent
commit
f78cddb94a
  1. 2
      .drone.yml
  2. 2
      Dockerfile

2
.drone.yml

@ -35,7 +35,7 @@ steps:
GOMODCACHE: '/drone/src/pkg.mod'
GOCACHE: '/drone/src/pkg.build'
commands:
- go build -ldflags "-w -s" -o /tmp/carp main.go
- go build -ldflags "-w -s" -o tmp/carp main.go
volumes:
- name: cache
path: /tmp/repotest

2
Dockerfile

@ -8,5 +8,5 @@ RUN apk add --no-cache gettext tzdata && \
date && \
apk del tzdata
EXPOSE 8080
ADD /tmp/carp /bin/
ADD tmp/carp /bin/
ENTRYPOINT ./bin/carp
Loading…
Cancel
Save