Compare commits
2 commits
next
...
release-5.
Author | SHA1 | Date | |
---|---|---|---|
Emelie Graven | e17cfb257b | ||
3d1abac530 |
13
.drone.yml
Normal file
13
.drone.yml
Normal 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.0.0'
|
|
@ -85,7 +85,7 @@ add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 )
|
|||
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
||||
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
||||
add_definitions ( -DRELEASE_DATE="${tidy_YEAR}/${tidy_MONTH}/${tidy_DAY}" )
|
||||
add_definitions ( -DRC_NUMBER="RC1" )
|
||||
### add_definitions ( -DRC_NUMBER="RC1" )
|
||||
|
||||
# Issue #188 - Support user items in platform.h
|
||||
if (TIDY_CONFIG_FILE)
|
||||
|
|
15
Dockerfile
Normal file
15
Dockerfile
Normal 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" ]
|
Loading…
Reference in a new issue