https://github.com/xquery/docker-libcurl-dev
docker images for easy libcurl development
https://github.com/xquery/docker-libcurl-dev
curl development docker-image libcurl
Last synced: about 2 months ago
JSON representation
docker images for easy libcurl development
- Host: GitHub
- URL: https://github.com/xquery/docker-libcurl-dev
- Owner: xquery
- Created: 2019-03-15T15:07:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T10:02:10.000Z (about 6 years ago)
- Last Synced: 2025-02-02T00:18:51.822Z (4 months ago)
- Topics: curl, development, docker-image, libcurl
- Language: Shell
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
-----------------------------------------
libcurl dev docker image
-----------------------------------------[](https://cloud.docker.com/repository/docker/jamesfuller/libcurl-dev-dependencies-linux/builds)
Docker image containing dependencies required for [libcurl](https://curl.haxx.se) development.
The docker image is hosted at [docker hub](https://hub.docker.com) here:
[jamesfuller/libcurl-dev-dependencies-linux](https://hub.docker.com/r/jamesfuller/libcurl-dev-dependencies-linux)
The following dockerfile illustrates how to create an image with your own fork of [https://github.com/curl/curl](https://github.com/curl/curl)
```
FROM jamesfuller/libcurl-dev-dependencies-linuxENV CURL_SOURCE_DIR=/src/curl
ENV CURL_GIT_REPO=https://github.com//curl.gitRUN mkdir -p ${CURL_SOURCE_DIR}
RUN chmod -R 777 ${CURL_SOURCE_DIR}
RUN chown -R root:root ${CURL_SOURCE_DIR}RUN git clone ${CURL_GIT_REPO} ${CURL_SOURCE_DIR}
RUN apt-get install -y openssh-server
RUN mkdir -p /root/.ssh && chown root.root /root && chmod 700 /root/.sshRUN cd /src/curl && ./buildconf
CMD ["/bin/bash"]
```The image is intentionally simple eg. you may want to mount a volume instead of embed git repo inside the image itself.
**Note**: nix images are experimental (and likely to not work)