Dockerfile 320 B

1234567891011
  1. FROM alpine:3.3
  2. RUN apk add --no-cache cmake gcc g++ musl-dev python make && rm -rf /var/cache/apk/*
  3. ADD . /tmp/open62541
  4. WORKDIR /tmp/open62541/build
  5. RUN cmake -DUA_ENABLE_AMALGAMATION=true \
  6. -DBUILD_SHARED_LIBS=true \
  7. /tmp/open62541
  8. RUN make -j
  9. RUN cp *.h /usr/include/ && \
  10. cp *.so /usr/lib