Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/Dockerfile-swh-objstorage
- This file was added.
FROM python:3 | |||||
RUN apt-get update | |||||
RUN apt-get install -y libsystemd-dev | |||||
RUN mkdir -p /srv/softwareheritage/objects | |||||
WORKDIR /usr/local/src/ | |||||
COPY ./swh-objstorage/requirements*.txt ./swh-objstorage/ | |||||
RUN pip install -r ./swh-objstorage/requirements.txt -r ./swh-objstorage/requirements-swh.txt | |||||
COPY ./swh-docker-dev/config/ /etc/softwareheritage/ | |||||
ardumont: Does that folder exist?
I have the following:
```
Step 8/12 : COPY ./swh-docker-dev/config/… | |||||
Done Inline ActionsI created in that diff. Make sure you cloned swh-docker-dev (no longer swh-jenkins-dev!) in swh-environment. vlorentz: I created in that diff. Make sure you cloned `swh-docker-dev` (no longer `swh-jenkins-dev`!) in… | |||||
Not Done Inline Actionsyes, i did that but the local repository is named swh-dockerfiles-dev, not swh-docker-dev. ardumont: yes, i did that but the local repository is named swh-dockerfiles-dev, not swh-docker-dev. | |||||
Done Inline ActionsMy bad. I'll fix the name of the repo, I believe swh-docker-dev is better (dockerfiles are not the only files here). You should rename it on your machine as well vlorentz: My bad. I'll fix the name of the repo, I believe `swh-docker-dev` is better (dockerfiles are… | |||||
Not Done Inline Actionsfwiw, i created a symlink with that name and it works indeed: Step 8/12 : COPY ./swh-docker-dev/config/ /etc/softwareheritage/ ---> d735b074f273 Step 9/12 : COPY . . ardumont: fwiw, i created a symlink with that name and it works indeed:
```
Step 8/12 : COPY ./swh… | |||||
Not Done Inline Actions
ack.
done ardumont: > My bad. I'll fix the name of the repo, I believe swh-docker-dev is better
ack.
> You should… | |||||
COPY . . | |||||
RUN pip install -e ./swh-objstorage/ | |||||
ENTRYPOINT ["python", "-m", "swh.objstorage.api.server", "/etc/softwareheritage/objstorage/server.yml"] | |||||
EXPOSE 5003 |
Does that folder exist?
I have the following: