Skip to content

Commit

Permalink
build(devcontainer): ♻️ rework devcontainer setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Jun 17, 2024
1 parent 93cfe99 commit 3cf55fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu@sha256:08a925b41755bcff957285d31e9bf5f0b7fc74962f455a929c15dc341b984b6f
RUN ../build/scripts/enable-multiarch all
RUN ../build/scripts/install-deps arm arm64 amd64
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install fish micro pre-commit
4 changes: 4 additions & 0 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Install libraries for all supported arches
sudo ./build/scripts/enable-multiarch all
sudo ./build/scripts/install-deps arm arm64 amd64

# Install go build packages
go install golang.org/x/tools/cmd/stringer@latest
go install golang.org/x/text/cmd/gotext@latest
Expand Down

0 comments on commit 3cf55fb

Please sign in to comment.