Skip to content
Discussion options

You must be logged in to vote

Create an Arch Linux Dockerfile and run the devcontainer with the docker image.

Dockerfile

# Use the latest Arch Linux base image
FROM archlinux:latest

# Update system and install base-devel group
RUN pacman -Syu --noconfirm base-devel

# Install other necessary packages
RUN pacman -S --noconfirm git vim python

# Any other setup steps

Then instruct GitHub Codespaces to build this Docker environment when initializing your codespace.

.devcontainer/devcontainer.json

{
  "name": "Arch Linux Codespace",
  "build": {
    "dockerfile": "Dockerfile"
  },
  "settings": {},
  "extensions": [],
  "postCreateCommand": "echo 'Environment ready!'"
}

Replies: 5 comments 4 replies

This comment was marked as off-topic.

@FunnyCheese4Me
Comment options

@FunnyCheese4Me
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kailando
Comment options

@Kreijstal
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question Ask and answer questions about GitHub features and usage
7 participants