Compare commits

...

1 Commits

Author SHA1 Message Date
Emelie Graven b5373d029a
Add 5.8.0
continuous-integration/drone/push Build is passing Details
2021-11-24 13:33:39 +01:00
2 changed files with 29 additions and 0 deletions

14
.drone.yml Normal file
View File

@ -0,0 +1,14 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: egraven/tidy-html5
username: egraven
password:
from_secret: DOCKER_TOKEN
tags:
- latest
- '5.8.0'

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM debian:stable-slim AS builder
RUN apt-get update -y && \
apt-get install -y git cmake make build-essential gcc
WORKDIR /build
COPY . .
RUN cd build/cmake
RUN cmake /build -DCMAKE_BUILD_TYPE=Release
RUN make
RUN make install
FROM debian:stable-slim AS runtime
COPY --from=builder /usr/local/bin/tidy /usr/local/bin/tidy
ENTRYPOINT [ "/usr/local/bin/tidy" ]