Fix devcontainer Dockerfile - add Yarn GPG key and repository#71
Open
martclau wants to merge 3 commits intogadievron:mainfrom
Open
Fix devcontainer Dockerfile - add Yarn GPG key and repository#71martclau wants to merge 3 commits intogadievron:mainfrom
martclau wants to merge 3 commits intogadievron:mainfrom
Conversation
Fix docker build command by removing unnecessary '..' at the end.
Add Yarn package repository to Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Building on Ubuntu 24.04.4 using Docker 29.3.0 hits a missing requirement. The change fixes this by adding the Yarn repo and PGP key.
$ sudo docker build --no-cache -f .devcontainer/Dockerfile -t raptor-devcontainer:latest .
[+] Building 2.4s (6/17) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 5.86kB 0.0s
=> [internal] load metadata for mcr.microsoft.com/devcontainers/python:1-3.12-bookworm 0.1s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [ 1/13] FROM mcr.microsoft.com/devcontainers/python:1-3.12-bookworm@sha256:7876580dc67fd460fd962f004cbeb480027e9bbc0657096f1087db11f9eaff39 0.0s
=> => resolve mcr.microsoft.com/devcontainers/python:1-3.12-bookworm@sha256:7876580dc67fd460fd962f004cbeb480027e9bbc0657096f1087db11f9eaff39 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 187B 0.0s
=> ERROR [ 2/13] RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && apt-get install -y --no-install-recommends python3-pip python3-venv git build-essential gcc g++ make cmake autoconf 2.0s