Add gitpod/docker configuration to repo (#469)

* added gitpod/docker
This commit is contained in:
Wilhelm
2025-03-16 08:23:58 +01:00
committed by GitHub
parent 713e06bf6c
commit d019ce803b
2 changed files with 53 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# .gitpod.yml
image:
file: Dockerfile
tasks:
- init: echo 'Welcome!'
- command: mkdir build && cd build
+46
View File
@@ -0,0 +1,46 @@
# Dockerfile
FROM archlinux:base
RUN pacman -Syu --noconfirm
# Install misc packages
RUN pacman -S --noconfirm \
7zip \
arm-none-eabi-gcc \
arm-none-eabi-newlib \
base-devel \
bc \
cmake \
cpio \
curl \
dos2unix \
erofs-utils \
git \
less \
nano \
python \
python-pip \
python-pilkit \
screen \
tree \
unzip \
vim \
wget \
zip
# HACK: Allow base-devel to run with root user
RUN sed -i '/E_ROOT/d' /usr/bin/makepkg
# Install yay
RUN git clone https://aur.archlinux.org/yay-bin.git /tmp/yay-bin && \
cd /tmp/yay-bin && \
makepkg -si --noconfirm && \
cd && rm -rf /tmp/yay-bin
#RUN git clone --recursive https://github.com/STMicroelectronics/STM32CubeG0.git /workspace/STM32CubeG0
#RUN git clone --recursive https://github.com/STMicroelectronics/STM32CubeG4.git /workspace/STM32CubeG4
# Personal dir dotfiles
#ADD home /home/
# Personal uploader scripts
#ADD root/bin /usr/local/bin/