Add 5.2.0
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Emelie Graven 2021-11-24 13:30:16 +01:00
parent abb03163ae
commit d1a8c2cbbc
Signed by: emelie
GPG key ID: C11123726DBB55A1
2 changed files with 28 additions and 0 deletions

13
.drone.yml Normal file
View file

@ -0,0 +1,13 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: egraven/tidy-html5
username: egraven
password:
from_secret: DOCKER_TOKEN
tags:
- '5.2.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" ]