View nodejsDockerfileAfter
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 |
View nodejsDockerfileBefore
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 |
View DormaJenkinsfile
library identifier: 'jenkins-shared-libraries@master', retriever: modernSCM( | |
[$class: 'GitSCMSource', | |
remote: 'ssh://git@bitbucket.mycompany.net/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') |
View docker-compose.yml
version: "3.7" | |
services: | |
jenkins: | |
container_name: jenkins | |
image: jenkins:latest | |
ports: | |
- "8080:8080" | |
- "50000:50000" | |
volumes: |
View Dockerfile
FROM drupal:7.59-apache | |
LABEL company="Singapore Press Holdings Ltd" \ | |
maintainer="Moses Liao<moseslgz@sph.com.sg>" | |
RUN pecl update-channels; | |
# Install Composer | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
View index.html
<!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"/> | |
View default.ctp
<?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) |