build(docker): remove markdownlint

This commit is contained in:
Oliver Davies 2022-06-11 23:48:56 +01:00
parent aed1527210
commit c37d1246a9
3 changed files with 0 additions and 19 deletions

View file

@ -1,3 +0,0 @@
default: true
MD013: false
MD033: false

View file

@ -1,15 +1,3 @@
FROM node:14-alpine AS markdownlint
RUN npm install -g markdownlint-cli
USER node
ENTRYPOINT ["markdownlint"]
CMD ["/data"]
###
FROM node:14-alpine AS assets FROM node:14-alpine AS assets
ARG NODE_ENV="production" ARG NODE_ENV="production"

4
run
View file

@ -42,10 +42,6 @@ function help {
printf "\nExtended help:\n Each task has comments for general usage\n" printf "\nExtended help:\n Each task has comments for general usage\n"
} }
function lint:markdown {
docker-compose run --rm markdownlint "${@}"
}
function run-production { function run-production {
DESTINATION_PATH="${2:-/var/www/oliverdavies.uk}" DESTINATION_PATH="${2:-/var/www/oliverdavies.uk}"
GIT_COMMIT_HASH="${1:-latest}" GIT_COMMIT_HASH="${1:-latest}"