Skip to content

Commit 596a54f

Browse files
committed
moved apt install and added EOLs
1 parent baea05a commit 596a54f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ FROM mcr.microsoft.com/devcontainers/rust:latest
1515
ARG USERNAME=vscode
1616
ARG TARGETARCH
1717

18-
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
19-
&& apt-get -y install \
18+
RUN apt-get update && \
19+
export DEBIAN_FRONTEND=noninteractive && \
20+
apt-get -y install \
2021
curl \
2122
gcc \
2223
git \
2324
openjdk-17-jre \
2425
zip \
26+
libclang-dev \
2527
&& \
2628
rm -rf /var/lib/apt/lists/*
2729

@@ -44,5 +46,3 @@ USER ${USERNAME}
4446

4547
# Install cargo cli tools
4648
RUN cargo install cargo-nextest cargo-deny cargo-tarpaulin --locked
47-
RUN sudo apt update && \
48-
sudo apt install -y libclang-dev

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@
8383
]
8484
}
8585
}
86-
}
86+
}

0 commit comments

Comments
 (0)