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
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/s
&& mv kubectl /usr/local/bin \
&& chmod +x /usr/local/bin/kubectl

# Create non-root user with a fixed UID
ENV HOME=/home/user

RUN adduser --system --group --uid 999 --home $HOME user
USER user
WORKDIR $HOME

# Add executable scripts without Windows carriage returns
ADD scripts/*.sh /usr/local/bin/
RUN sed -i 's/\r$//' /usr/local/bin/*.sh
RUN chmod +x /usr/local/bin/*.sh

# Change to non-root user
USER user
WORKDIR $HOME
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 SIL LSDev
Copyright (c) 2021-2026 SIL LSDev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading