Skip to content

Commit c1d0895

Browse files
metaskillsmpeteuil
authored andcommitted
[DevContainer] Add ltrace and reformat && too.
1 parent aac4ac3 commit c1d0895

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.devcontainer/Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
FROM mcr.microsoft.com/vscode/devcontainers/rust
22

3-
RUN sudo apt-get update -y && \
4-
sudo apt-get upgrade -y && \
5-
sudo apt-get install zip musl-tools -y
3+
RUN sudo apt-get update -y \
4+
&& sudo apt-get upgrade -y \
5+
&& sudo apt-get install zip musl-tools ltrace -y
66

7-
RUN rustup update && \
8-
rustup target add x86_64-unknown-linux-musl
7+
RUN rustup update \
8+
&& rustup target add x86_64-unknown-linux-musl
99

1010
RUN sudo apt-get install -y nodejs
1111

12-
RUN cd /tmp && \
13-
curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip > aws-sam-cli-linux-x86_64.zip && \
14-
unzip aws-sam-cli-linux-x86_64.zip -d sam-installation && \
15-
rm -rf aws-sam-cli-linux-x86_64.zip && \
16-
sudo ./sam-installation/install
12+
RUN cd /tmp \
13+
&& curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip > aws-sam-cli-linux-x86_64.zip \
14+
&& unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \
15+
&& rm -rf aws-sam-cli-linux-x86_64.zip \
16+
&& sudo ./sam-installation/install

0 commit comments

Comments
 (0)