microsoft / PubSec-Info-Assistant

Information Assistant, built with Azure OpenAI Service, Industry Accelerator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wsl with ubuntu, vscode and devcontainers just to run this?

developer992 opened this issue · comments

like we need more proof that microsoft hates python

cant even decide on what os to support

learn what poetry is and how to write multi stage docker files

and then this happens

image

honestly why would it work,. right

it basically fails with the same error


 > [dev_container_auto_added_stage_label  4/18] RUN bash "/tmp/non-root-user.sh"
 "vscode" "1000" "1000":
0.275 /tmp/non-root-user.sh: line 3: $'\r': command not found
0.275 /tmp/non-root-user.sh: line 8: $'\r': command not found
: invalid optionoot-user.sh: line 9: set: -
0.275 set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
0.276 /tmp/non-root-user.sh: line 10: $'\r': command not found
0.276 /tmp/non-root-user.sh: line 20: syntax error near unexpected token `$'do\r
''
0.276 /tmp/non-root-user.sh: line 20: `    for CURRENT_USER in ${POSSIBLE_USERS[
']}; do
------
Dockerfile-with-features:17
--------------------
  15 |     # Set up non-root user
  16 |     COPY ./scripts/non-root-user.sh /tmp/
  17 | >>> RUN bash "/tmp/non-root-user.sh" "${USERNAME}" "${USER_UID}" "${USER_
GID}"
  18 |
  19 |     # Set env for tracking that we're running in a devcontainer

PLEASE HIRE SOME PYTHON SENIORS THIS APP IS RETARDED