TinyDockerfile 371 B

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