-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpine linux build fails #20
Comments
Hey,
I know that |
Hello, having the same issue and same error. @inbarbarkai even tried to run your dockerfile still the same error and terminate docker execution. |
@sohrabq Here is a updated docker with the latest # Docker file for postgres with pg_amqp extension installed and configured to use RabbitMQ
FROM postgres:alpine
RUN apk update && apk add git make gcc linux-headers libc-dev libxml2-dev alpine-sdk musl-dev postgresql-dev rabbitmq-c-dev
RUN git clone https://github.com/omniti-labs/pg_amqp.git workdir
ARG AMQP_H=src/librabbitmq/amqp.h
RUN cd workdir \
&& head -n 2 ${AMQP_H} > ${AMQP_H}.temp \
&& echo "#include <sys/types.h>" >> ${AMQP_H}.temp \
&& cat ${AMQP_H} | sed -e '1,3d' >> ${AMQP_H}.temp \
&& mv ${AMQP_H}.temp ${AMQP_H}
RUN cd workdir && make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I build this repo in docker official alpine based postgres image. I am getting compile error:
Dockerfile content:
The text was updated successfully, but these errors were encountered: