Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue in Dockerfile of realtime-api-plus #2726

Open
emilgram1 opened this issue Jan 17, 2025 · 0 comments
Open

Build issue in Dockerfile of realtime-api-plus #2726

emilgram1 opened this issue Jan 17, 2025 · 0 comments

Comments

@emilgram1
Copy link

Bug Description

Due to a version issue, the Dockerfile command in line 49 breaks the docker compose build.

COPY --from=web-builder /aoai-realtime-audio-sdk/javascript/standalone/rt-client-0.5.0.tgz /rt-client-0.5.0.tgz

To Reproduce

Just execute docker compose build in the realtime-api-plus folder and you'll see:

=> ERROR [web web 3/8] COPY --from=web-builder /aoai-realtime-audio-sdk/javascript/sta  0.0s
------
 > [backend] exporting to oci image format:
------
------
[+] Building 0/2 COPY --from=web-builder /aoai-realtime-audio-sdk/javascript/standalone/rt-cli
 ⠴ Service backend  Building                                                            55.6s 
 ⠴ Service web      Building                                                            55.6s 
failed to solve: failed to compute cache key: failed to calculate checksum of ref ylz3ryo38kivlbresn0fh8hxy::wkl8svk6au1qwbtzc22mpx8eu: "/aoai-realtime-audio-sdk/javascript/standalone/rt-client-0.5.0.tgz": not found

My temporary suggested fix that made it work is to adjust the rt-client version from 0.5.0 to 0.5.2 as follows:

COPY --from=web-builder /aoai-realtime-audio-sdk/javascript/standalone/rt-client-0.5.2.tgz /rt-client-0.5.0.tgz

Expected behavior

  • Once the fix is in place the build should complete successfully.
  • However, I would suggest to remove the rt-client version dependency if possible as one might be able to continue to use the SDK with a higher version of the rt-client code.

Version of the Cognitive Services Speech SDK

This issue was identified using:

  • OSX Sequoia 15.3
  • Macbook Pro M4 Pro (ARM64)
  • Docker for Desktop 4.37.2
  • Visual Studio Code 1.96.4 (Universal)

Not sure of SDK version but the issue is present in the main branch as of 1/17/2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant