Skip to content

Commit

Permalink
fix tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MP91 committed Jan 24, 2024
1 parent ed58860 commit 025bab7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfiles/cpp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

FROM --platform=$BUILDPLATFORM ubuntu:22.04 as builder

ARG SDK_TAG=v0.4.1
ARG SDK_TAG

RUN echo $SDK_TAG > /container/cpp/version.txt

Expand Down Expand Up @@ -62,6 +62,8 @@ RUN conan remove --builds --src --force '*'

FROM --platform=$TARGETPLATFORM ubuntu:22.04 as final

ARG SDK_TAG

RUN apt-get --fix-missing update && apt-get upgrade -y && \
apt-get install -y jq sudo curl wget git \
# install cpp packages
Expand Down
5 changes: 4 additions & 1 deletion Dockerfiles/cpp/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "Base Container",
"build": {
"dockerfile": "Dockerfile",
"context": "../../.."
"context": "../../..",
"args": {
"SDK_TAG": "v0.4.1"
}
},
"features": {
"ghcr.io/devcontainers/features/git:1.1.5": {
Expand Down

0 comments on commit 025bab7

Please sign in to comment.