Dockerfile 295 B

123456789
  1. FROM alpine:3.3
  2. RUN apk add --no-cache cmake gcc musl-dev python py-lxml make && rm -rf /var/cache/apk/*
  3. ADD . /tmp/open62541
  4. WORKDIR /tmp/open62541/build
  5. RUN cmake -D UA_ENABLE_AMALGAMATION=true /tmp/open62541 && make
  6. RUN cp *.h /usr/include/ && \
  7. cp *.so /usr/lib && \
  8. cp *.a /usr/lib