Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INSTALL_NODB.sh: line 73: syntax error near unexpected token #177

Open
IshwarChincholkar opened this issue Oct 18, 2023 · 0 comments
Open

Comments

@IshwarChincholkar
Copy link

IshwarChincholkar commented Oct 18, 2023

OS: Windows-10 64bit
Docker-Desktop: 4.17.0 (99724)
Docker Engine: 20.10.23
Docker Compose: v2.15.1

PS C:\Users\HP\OneDrive\Desktop\Work\misp-docker> docker-compose build
[+] Building 3.4s (16/26)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 2B                                                                                    0.0s
 => [internal] load metadata for docker.io/library/ubuntu:focal                                                    2.6s
 => [auth] library/ubuntu:pull token for registry-1.docker.io                                                      0.0s
 => [ 1/21] FROM docker.io/library/ubuntu:focal@sha256:ed4a42283d9943135ed87d4ee34e542f7f5ad9ecf2f244870e23122f70  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 294B                                                                                  0.0s
 => CACHED [ 2/21] RUN apt-get update &&     apt-get dist-upgrade -y && apt-get upgrade && apt-get autoremove -y   0.0s
 => CACHED [ 3/21] RUN add-apt-repository ppa:deadsnakes/ppa                                                       0.0s
 => CACHED [ 4/21] RUN apt-get update && apt-get -y install python3.9 python3-pip                                  0.0s
 => CACHED [ 5/21] RUN pip3 install --upgrade pip                                                                  0.0s
 => CACHED [ 6/21] RUN locale-gen en_US.UTF-8                                                                      0.0s
 => CACHED [ 7/21] RUN useradd misp && usermod -aG sudo misp                                                       0.0s
 => CACHED [ 8/21] COPY --chown=misp:misp INSTALL_NODB.sh* ./                                                      0.0s
 => CACHED [ 9/21] RUN chmod +x INSTALL_NODB.sh                                                                    0.0s
 => CACHED [10/21] RUN echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers                                          0.0s
 => ERROR [11/21] RUN bash INSTALL_NODB.sh -A -u                                                                   0.6s
------
 > [11/21] RUN bash INSTALL_NODB.sh -A -u:
#0 0.508 INSTALL_NODB.sh: line 73: syntax error near unexpected token `$'{\r''
'0 0.509 INSTALL_NODB.sh: line 73: `MISPvars () {
------
failed to solve: executor failed running [/bin/sh -c bash INSTALL_NODB.sh -A -u]: exit code: 2
PS C:\Users\HP\OneDrive\Desktop\Work\misp-docker>

Getting above error after run docker-compose build on powershell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant