add locale tooling (#2618)

This commit is contained in:
Jo 2025-05-02 00:07:39 +02:00 committed by GitHub
parent 3e82496057
commit c6a2226ce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,9 +10,15 @@ RUN echo "docker ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/docker
# Create a non-root user and switch to it
USER docker
# Install xgotext
RUN go install github.com/leonelquinteros/gotext/cli/xgotext@latest
# Add /app/bin to the PATH
ENV PATH="/app/bin:$PATH"
# add /home/docker/go/bin to the PATH
ENV PATH="/home/docker/go/bin:$PATH"
# Set the working directory
WORKDIR /workspace