chore: enhance devcontainer and cron job configuration

- Add cloc to devcontainer Dockerfile for code line counting
- Modify cron job to start cleaning expired auth tokens immediately
This commit is contained in:
Jacky 2025-02-05 21:29:43 +08:00
parent a00a4f19d2
commit 03b02010ed
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ FROM mcr.microsoft.com/devcontainers/base:jammy
# Combine installation steps for Nginx and Go to avoid repetitive update/cleanup commands
RUN apt-get update && \
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates lsb-release ubuntu-keyring jq && \
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates lsb-release ubuntu-keyring jq cloc && \
\
# Configure the Nginx repository
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor > /usr/share/keyrings/nginx-archive-keyring.gpg && \