An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

-----------------------------------------
libcurl dev docker image
-----------------------------------------

[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/jamesfuller/libcurl-dev-dependencies-linux.svg)](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-linux

ENV CURL_SOURCE_DIR=/src/curl
ENV CURL_GIT_REPO=https://github.com//curl.git

RUN 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/.ssh

RUN 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)