Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
babos77 committed Jan 25, 2021
2 parents b86ff63 + 3048e07 commit 9356669
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:latest

FROM golang:latest AS build
WORKDIR /go/src/thola
COPY . .

RUN go get -d -v .
RUN go generate
RUN go install -v .
RUN CGO_ENABLED=0 go build -v -o thola .

FROM alpine:latest
COPY --from=build /go/src/thola/thola .

ENTRYPOINT ["thola", "api"]
ENTRYPOINT ["./thola", "api"]
4 changes: 2 additions & 2 deletions test/testdata/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ services:
tholanetwork:
ipv4_address: 172.20.0.7
snmpsim1:
image: tandrup/snmpsim:latest
image: thola/snmpsim:latest
volumes:
- ${THOLA_TEST_SNMPRECDIR}:/usr/local/snmpsim/data/
networks:
tholanetwork:
ipv4_address: 172.20.0.8
snmpsim2:
image: tandrup/snmpsim:latest
image: thola/snmpsim:latest
volumes:
- ${THOLA_TEST_SNMPRECDIR}:/usr/local/snmpsim/data/
networks:
Expand Down

0 comments on commit 9356669

Please sign in to comment.