Skip to content

Commit

Permalink
Fix Docker test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Nov 29, 2023
1 parent 5628a60 commit 2a15017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/sip/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ COPY go.sum .
RUN go mod download

# copy source
COPY res/ res/
COPY cmd/ cmd/
COPY pkg/ pkg/
COPY version/ version/
Expand Down
3 changes: 2 additions & 1 deletion build/test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ WORKDIR /workspace
# install deps
RUN apt-get update && \
apt-get install -y \
curl
curl libopus-dev

RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then GOARCH=arm64; else GOARCH=amd64; fi && \
curl -L -o /tmp/go.tar.gz "https://go.dev/dl/go1.20.7.linux-$GOARCH.tar.gz"
Expand All @@ -34,6 +34,7 @@ COPY go.sum .
RUN go mod download

# copy source
COPY res/ res/
COPY pkg/ pkg/
COPY version/ version/

Expand Down

0 comments on commit 2a15017

Please sign in to comment.