@m14i/sith 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docker/Dockerfile CHANGED
@@ -60,10 +60,12 @@ COPY --from=builder /root/.opencode /root/.opencode
60
60
  COPY --from=builder /root/.npmrc /root/.npmrc
61
61
 
62
62
  # Créer un utilisateur non-root pour l'exécution
63
- RUN adduser -D -u 1000 -s /bin/sh sith && \
63
+ RUN mkdir -p /home/sith && \
64
+ echo "sith:x:1000:1000:Sith User:/home/sith:/bin/sh" >> /etc/passwd && \
65
+ echo "sith:x:1000:" >> /etc/group && \
64
66
  mkdir -p /home/sith/.opencode /home/sith/.npm-global /workspace && \
65
67
  cp -r /root/.opencode/* /home/sith/.opencode/ 2>/dev/null || true && \
66
- chown -R sith:sith /home/sith /workspace /opt/sith
68
+ chown -R 1000:1000 /home/sith /workspace /opt/sith
67
69
 
68
70
  # Copier la configuration npm pour l'utilisateur sith
69
71
  RUN echo "registry=https://registry.npmjs.org/" > /home/sith/.npmrc && \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m14i/sith",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Turn your context to the dark side. Standardize and share your OpenCode setup with a fully dockerized environment, designed for seamless collaboration and CI integration.",
5
5
  "type": "module",
6
6
  "repository": {