CentreForDigitalHumanities / CentreForDigitalHumanities/tscan

docker-compose up doesn't work: builder stops with error

Open
#82 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

docker-compose up stops with the message "end of file unexpected (expecting "then"):

```
=> [builder 1/19] RUN apt-get update && apt-get install -y autoconf autoconf-archive automake autotools-dev 123.6s
=> [builder 2/19] COPY docker/deployment/ /deployment/ 0.0s
=> [builder 3/19] COPY data/ /src/tscan/data 0.1s
=> [builder 4/19] COPY docker/data/ /src/tscan/docker/data/ 0.0s
=> [builder 5/19] WORKDIR /deployment 0.0s
=> ERROR [builder 6/19] RUN ./add-alpino.sh 0.5s
------
> [builder 6/19] RUN ./add-alpino.sh:
#0 0.504 ./add-alpino.sh: 9: Syntax error: end of file unexpected (expecting "then")
------
failed to solve: executor failed running [/bin/sh -c ./add-alpino.sh]: exit code: 2
```

I'm using docker on Windows 10.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect docker/deployment/add-alpino.sh around line 9, then reproduce the failure with docker-compose up on the reported setup. Confirm that the builder passes the RUN ./add-alpino.sh step and that docker-compose up completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, shell
Domain
build-system, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.