Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full upgrade trusty #71

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:12.04
FROM ubuntu:14.04
MAINTAINER Phusion <[email protected]>

ENV HOME /root
Expand Down
2 changes: 1 addition & 1 deletion image/config/syslog_ng_default
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

# Command line options to syslog-ng
# We set --default-modules because of https://github.com/phusion/baseimage-docker/pull/7.
SYSLOGNG_OPTS="--no-caps --default-modules=affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat"
SYSLOGNG_OPTS="--no-caps"
4 changes: 2 additions & 2 deletions image/my_init
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python2 -u
import os, os.path, sys, stat, signal, errno, argparse, time, json, re, posixfile
#!/usr/bin/python3 -u
import os, os.path, sys, stat, signal, errno, argparse, time, json, re

KILL_PROCESS_TIMEOUT = 5
KILL_ALL_PROCESSES_TIMEOUT = 5
Expand Down
3 changes: 2 additions & 1 deletion image/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ mkdir -p /etc/container_environment
echo -n no > /etc/container_environment/INITRD

## Enable Ubuntu Universe and Multiverse.
cp /build/sources.list /etc/apt/sources.list
sed -i 's/^#\s*\(deb.*universe\)$/\1/g' /etc/apt/sources.list
sed -i 's/^#\s*\(deb.*multiverse\)$/\1/g' /etc/apt/sources.list
apt-get update

## Fix some issues with APT packages.
Expand Down
2 changes: 2 additions & 0 deletions image/runit/syslog-ng
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
# /dev/log is either a named pipe or it was placed there accidentally
if [ ! -S /dev/log ]; then rm -f /dev/log; fi
set -e

SYSLOGNG_OPTS=""
Expand Down
2 changes: 1 addition & 1 deletion image/setuser
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
import sys, os, pwd

if len(sys.argv) < 3:
Expand Down
25 changes: 0 additions & 25 deletions image/sources.list

This file was deleted.