Skip to content

Commit

Permalink
Fix docker compile script (plc4x).
Browse files Browse the repository at this point in the history
  • Loading branch information
riclolsen committed Sep 15, 2024
1 parent 86fa72f commit d205742
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compile-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ services:
container_name: js_pcl4x_compile
command: sh -c "apk update &&
apk add --no-cache git libpcap-dev &&
go env -w GO111MODULE=auto &&
go env -w CGO_ENABLED=1 &&
go env -w GO111MODULE=auto CGO_ENABLED=1 &&
cd /go/src/plc4x-client/ &&
go mod tidy &&
go build &&
CGO_ENABLED=1 go build &&
cp plc4x-client /publish_bin/"
volumes:
- ../src/plc4x-client:/go/src/plc4x-client
Expand Down

0 comments on commit d205742

Please sign in to comment.