Skip to content

Commit 7265431

Browse files
authored
Update to 2.8.1 (#2)
* Update to 2.8.1. * No need to use tini. * Update licence year. * Remove unused dockerignore.
1 parent c5791b9 commit 7265431

4 files changed

Lines changed: 6 additions & 11 deletions

File tree

.dockerignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@ FROM php:7.1.1-alpine
22

33
MAINTAINER herloct <herloct@gmail.com>
44

5-
ENV PHPCS_VERSION=2.8.0
5+
ENV PHPCS_VERSION=2.8.1
66

7-
RUN apk update --no-cache \
8-
&& apk add --no-cache tini \
9-
10-
&& curl -L https://github.com/squizlabs/PHP_CodeSniffer/releases/download/$PHPCS_VERSION/phpcs.phar > /usr/local/bin/phpcs \
7+
RUN curl -L https://github.com/squizlabs/PHP_CodeSniffer/releases/download/$PHPCS_VERSION/phpcs.phar > /usr/local/bin/phpcs \
118
&& chmod +x /usr/local/bin/phpcs \
129

1310
&& rm -rf /var/cache/apk/* /var/tmp/* /tmp/*
1411

1512
VOLUME ["/project"]
1613
WORKDIR /project
1714

18-
ENTRYPOINT ["/sbin/tini", "--", "phpcs"]
15+
ENTRYPOINT ["phpcs"]
1916
CMD ["--version"]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 herloct <herloct@gmail.com>
3+
Copyright (c) 2017 herloct <herloct@gmail.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## Supported tags and respective `Dockerfile` links
44

5-
* [`2.8.0`, `latest`](https://github.com/herloct/docker-phpcs/blob/2.8.0/Dockerfile)
5+
* [`2.8.1`, `latest`](https://github.com/herloct/docker-phpcs/blob/2.8.1/Dockerfile)
6+
* [`2.8.0`](https://github.com/herloct/docker-phpcs/blob/2.8.0/Dockerfile)
67
* [`2.7.1`](https://github.com/herloct/docker-phpcs/blob/2.7.1/Dockerfile)
78

89
## What is PHP_CodeSniffer and phpcs?

0 commit comments

Comments
 (0)