Skip to content

Commit 0644a99

Browse files
committed
chore(devcon): use native arch
Signed-off-by: Christoph Hoopmann <[email protected]>
1 parent 2632586 commit 0644a99

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM ubuntu:noble
2+
ARG TARGETARCH
23

34
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
45
&& apt-get install -y \
56
curl \
67
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
78

89
# install go-task
9-
RUN curl -sSL https://github.com/go-task/task/releases/latest/download/task_linux_amd64.deb -o /tmp/task.deb && \
10-
dpkg -i /tmp/task.deb && \
11-
rm /tmp/task.deb
10+
RUN curl -sSL https://github.com/go-task/task/releases/latest/download/task_linux_$TARGETARCH.tar.gz | \
11+
tar zx -C /usr/local/bin/ task
1212

1313
LABEL org.opencontainers.image.source=https://github.com/choopm/stdfx

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ services:
33
build:
44
context: .
55
dockerfile: Dockerfile
6+
image: ghcr.io/choopm/stdfx-devcontainer:latest
67
init: true
78
volumes:
89
- ../:/workspace:delegated

0 commit comments

Comments
 (0)