Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .devcontainer/rocky9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
FROM rockylinux:9

# Install EPEL repository for additional packages
RUN dnf install -y epel-release && \
dnf update -y

# Enable CRB (CodeReady Builder) repository for development packages
RUN dnf install -y dnf-plugins-core && \
dnf config-manager --set-enabled crb

# Install build dependencies for LTFS
RUN dnf install -y \
autoconf \
automake \
libtool \
make \
gcc \
pkg-config \
fuse-devel \
fuse \
libxml2-devel \
libicu-devel \
icu \
libuuid-devel \
net-snmp-devel \
diffutils

# Install development and debugging tools
RUN dnf install -y \
gdb \
valgrind \
git \
sudo

# Install GitHub CLI
RUN dnf install -y 'dnf-command(config-manager)' && \
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo && \
dnf install -y gh

# Clean up dnf cache
RUN dnf clean all

# Create non-root user
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID

RUN groupadd --gid $USER_GID $USERNAME && \
useradd --uid $USER_UID --gid $USER_GID -m $USERNAME && \
echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/$USERNAME

USER $USERNAME
WORKDIR /workspaces
18 changes: 18 additions & 0 deletions .devcontainer/rocky9/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "LTFS Development (Rocky Linux 9)",
"build": {
"dockerfile": "Dockerfile",
"context": "../.."
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"ms-vscode.makefile-tools"
]
}
},
"postCreateCommand": "./autogen.sh && ./configure --prefix=/workspaces/ltfs-oss",
"remoteUser": "vscode"
}
43 changes: 43 additions & 0 deletions .devcontainer/ubuntu2404/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
FROM ubuntu:24.04

# Avoid prompts from apt
ENV DEBIAN_FRONTEND=noninteractive

# Update and install build dependencies for LTFS
RUN apt-get update && apt-get install -y \
autoconf \
automake \
libtool \
make \
gcc \
pkg-config \
libfuse-dev \
fuse \
libxml2-dev \
libicu-dev \
uuid-dev \
libsnmp-dev \
icu-devtools

# Install development and debugging tools
RUN apt-get install -y \
gdb \
valgrind \
git \
sudo

# Clean up apt cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*

# Create non-root user
ARG USERNAME=vscode
ARG USER_UID=1001
ARG USER_GID=$USER_UID

RUN groupadd --gid $USER_GID $USERNAME && \
useradd --uid $USER_UID --gid $USER_GID -m $USERNAME && \
echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/$USERNAME

USER $USERNAME
WORKDIR /workspaces
21 changes: 21 additions & 0 deletions .devcontainer/ubuntu2404/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "LTFS Development (Ubuntu 24.04)",
"build": {
"dockerfile": "Dockerfile",
"context": "../.."
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"ms-vscode.makefile-tools"
]
}
},
"postCreateCommand": "./autogen.sh && ./configure --prefix=/workspaces/ltfs-oss",
"remoteUser": "vscode"
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ltfs.pc
.libs/
messages/.lib
.dirstamp
# local settings for claude code
.claude
# Files created by OS
.DS_Store
# Files for development
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CLAUDE.md
# AGENTS.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This file provides guidance to AI agents when working with code in this repository.

## Project Overview

Expand Down
Loading