Update code-server packages
All checks were successful
ShellCheck / shellcheck (push) Successful in 36s

This commit is contained in:
Mathieu Strypsteen 2024-07-11 17:05:58 +02:00
parent 62da29c75b
commit 28a3099c3c
Signed by: mathieu
GPG key ID: 782A42E461BC6824
3 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,7 @@
FROM quay.io/fedora/fedora-toolbox:40
RUN dnf up -y
RUN dnf install -y bash-color-prompt cargo hyperfine nodejs-npm openssl-devel poetry postgresql-server python3-ipykernel python3-pip rustfmt rust-src systemd-container vim-enhanced
RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.90.3/code-server-4.90.3-amd64.rpm
RUN dnf install -y bash-color-prompt clang gcc hyperfine llvm mtools nodejs-npm openssl-devel parted poetry postgresql-server python3-ipykernel python3-pip rustup systemd-container vim-enhanced
RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.91.0/code-server-4.91.0-amd64.rpm
RUN mkdir /etc/systemd/system/user@.service.d
RUN mkdir /var/lib/systemd/linger
RUN touch /var/lib/systemd/linger/coder
@ -10,6 +10,7 @@ RUN echo "coder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER coder
RUN mkdir -p /home/coder/.config/systemd/user/default.target.wants
RUN ln -s /etc/systemd/user/code-server.service /home/coder/.config/systemd/user/default.target.wants
RUN rustup-init -y
USER root
COPY override.conf /etc/systemd/system/user@.service.d
COPY code-server.service /etc/systemd/user

View file

@ -1,9 +1,8 @@
#!/bin/sh
set -e
cd "$(dirname "$0")"
podman rmi -af
for container in */; do
container=${container%/}
id=$(podman build --ulimit nofile=-1:-1 -q "$container")
id=$(podman build --pull=always --ulimit nofile=-1:-1 -q "$container")
echo | podman push --compress --sign-by-sigstore-private-key ~/Documents/cosign.key "$id" git.strypsteen.com/mathieu/"$container"
done

View file

@ -1,2 +0,0 @@
[Resolve]
DNSSEC=true