Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to install this extinsion into official alpine docker container? #200

Unanswered
IlyaDeskov asked this question in Q&A
Discussion options

Tried to:

  1. apk add --no-cache git build-base clang llvm15-dev llvm15
  2. apk add sudo nano
  3. cd /tmp
  4. git clone --branch master https://github.com/pramsey/pgsql-http.git
  5. cd pgsql-http
  6. nano Makefile
  7. PG_CONFIG = /usr/local/bin/pg_config
  8. sudo make

But make fails with:

make: curl-config: Operation not permitted
make: /usr/local/bin/pg_config: Operation not permitted
make: *** No targets. Stop.
You must be logged in to vote

Replies: 1 comment

Comment options

The following works for me:

FROM postgres:alpine
RUN set -eux \
	&& wget -O pgsql-http.tgz https://github.com/pramsey/pgsql-http/archive/refs/heads/master.tar.gz \
	&& tar zxfv pgsql-http.tgz \
	&& cd pgsql-http-master \
	&& apk add --no-cache --virtual .build-deps \
 clang19 \
 g++ \
 llvm19 \
 make \
 curl-dev \
	&& make \
	&& make install \
	&& cd .. \
	&& rm -rf pgsql-http* \
	&& apk del \
	 clang19 \
 g++ \
 llvm19 \
 make \
 curl-dev
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /