This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM gliderlabs/alpine:3.3 | |
| COPY myawesomescript /bin/myawesomescript | |
| COPY root /var/spool/cron/crontabs/root | |
| RUN chmod +x /bin/myawesomescript | |
| CMD crond -l 2 -f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Guzzle\Common\Event; | |
| use Guzzle\Http\Message\Header; | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| class ForceCharsetPlugin implements EventSubscriberInterface | |
| { | |
| private $forcedCharset = 'utf8'; |