This file contains 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 node:8.12-slim as BUILD_IMAGE | |
# install the needed libraries | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
git | |
# install node-prune (https://github.com/tj/node-prune) | |
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin |
This file contains 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 node:8.12 | |
# version of app | |
LABEL version="1.1" | |
RUN apt-get update | |
RUN apt-get install -y git | |
WORKDIR /home/node/app | |
COPY . /home/node/app |
This file contains 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
library identifier: 'jenkins-shared-libraries@master', retriever: modernSCM( | |
[$class: 'GitSCMSource', | |
remote: 'ssh://[email protected]/smar/jenkins-shared-libraries.git', | |
credentialsId: 'jenkins-bitbucket-ssh-private-key']) | |
pipeline { | |
agent any | |
environment { | |
TEAMS_WEBHOOK_URL = credentials('digital-apac-webhook-url-for-ms-teams') |
This file contains 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
version: "3.7" | |
services: | |
jenkins: | |
container_name: jenkins | |
image: jenkins:latest | |
ports: | |
- "8080:8080" | |
- "50000:50000" | |
volumes: |
This file contains 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 drupal:7.59-apache | |
LABEL company="Singapore Press Holdings Ltd" \ | |
maintainer="Moses Liao<[email protected]>" | |
RUN pecl update-channels; | |
# Install Composer | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title> | |
CakePHP: the rapid development php framework: | |
Transactions </title> | |
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> | |
This file contains 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 | |
/** | |
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org) | |
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) | |
* | |
* Licensed under The MIT License | |
* For full copyright and license information, please see the LICENSE.txt | |
* Redistributions of files must retain the above copyright notice. | |
* | |
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) |