Skip to content

Commit

Permalink
Test without portaudio
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Aug 3, 2024
1 parent db8f531 commit ca1df2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
submodules: true # clone go-librespot into jobs directory
# gross but go-librespot depends on them
- name: Ubuntu dependencies
run: sudo apt-get update && sudo apt-get install -y portaudio19-dev libvorbis-dev libogg-dev
run: sudo apt-get update && sudo apt-get install -y libvorbis-dev libogg-dev
- uses: actions/setup-go@v5
with:
go-version: 1.21
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ FROM golang:1.22.4-bookworm AS builder

WORKDIR /app

RUN apk update && apk install libogg libvorbis portaudio
RUN apt-get update && apt-get install -y libvorbis-dev libogg-dev

COPY . .
RUN go mod download
RUN GOOS=linux go build -ldflags "-s -w" -v -o gunslinger

# Based on Debian but includes a minimal headless chrome
FROM chromedp/headless-shell:latest
RUN apt-get update && apt-get install -y ca-certificates iptables procps sqlite3 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y ca-certificates iptables procps sqlite3 libvorbis-dev libogg-dev && rm -rf /var/lib/apt/lists/*

# Copy binary to production image
COPY --from=builder /app/gunslinger /app/gunslinger
Expand Down

0 comments on commit ca1df2c

Please sign in to comment.