Skip to content

Commit de0701f

Browse files
committed
Add chezmoi
1 parent cf3888f commit de0701f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
44
#-------------------------------------------------------------------------------------------------------------
55

6-
FROM mcr.microsoft.com/powershell/test-deps:ubuntu-18.04
6+
FROM mcr.microsoft.com/powershell/test-deps:ubuntu-22.04
77

88
# Avoid warnings by switching to noninteractive
99
ENV DEBIAN_FRONTEND=noninteractive
@@ -18,7 +18,9 @@ RUN apt-get update \
1818
# Clean up
1919
&& apt-get autoremove -y \
2020
&& apt-get clean -y \
21-
&& rm -rf /var/lib/apt/lists/*
21+
&& rm -rf /var/lib/apt/lists/* \
22+
&& wget https://github.com/twpayne/chezmoi/releases/download/v2.33.1/chezmoi_2.33.1_linux_amd64.deb \
23+
&& apt-get -y install ./chezmoi_2.33.1_linux_amd64.deb
2224

2325
# Switch back to dialog for any ad-hoc use of apt-get
2426
ENV DEBIAN_FRONTEND=dialog

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"image": "mcr.microsoft.com/powershell/test-deps:ubuntu-22.04",
2+
"build": { "dockerfile": "Dockerfile" },
33
"features": {
44
"ghcr.io/devcontainers/features/github-cli:1": {},
55
"ghcr.io/devcontainers/features/common-utils:2": {}

0 commit comments

Comments
 (0)