Browse Source

Merge branch 'master' into pull-127-conflict-resolve

pull/127/head
Alex Kulikovskikh 3 years ago
committed by GitHub
parent
commit
9f7c31e2dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beanstalkd-console/install.sh
  2. 4
      beanstalkd/install.sh
  3. 2
      hugin/install.sh
  4. 2
      jekyll/install.sh
  5. 2
      latex/Dockerfile
  6. 2
      latex/install.sh
  7. 6
      mailcatcher/Dockerfile
  8. 7
      mailcatcher/README.md
  9. 4
      mysql-backup-s3/backup.sh
  10. 15
      mysql-backup-s3/install.sh
  11. 7
      mysql-backup-s3/run.sh
  12. 2
      nodejs/install.sh
  13. 2
      octave/install.sh
  14. 4
      postgres-backup-s3/README.md
  15. 2
      postgres-backup-s3/backup.sh
  16. 2
      postgres-backup-s3/install.sh
  17. 2
      postgres-backup-s3/run.sh
  18. 2
      postgres-restore-s3/install.sh
  19. 2
      postgres-restore-s3/restore.sh
  20. 2
      redis-commander/install.sh
  21. 2
      rust/install.sh
  22. 2
      s3cmd/install.sh
  23. 2
      s3cmd/run.sh
  24. 2
      scala-sbt-docker/install.sh
  25. 2
      swagger-ui/run.sh

2
beanstalkd-console/install.sh

@ -1,7 +1,7 @@
#! /bin/sh
# exit if a command fails
set -e
set -eo pipefail
# download
curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp

4
beanstalkd/install.sh

@ -1,9 +1,9 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
version="1.10"
version="1.11"
# install curl (needed to install rust)
apt-get update && apt-get install -y curl build-essential

2
hugin/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install hugin & panotools
apt-get update && apt-get install -y hugin

2
jekyll/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install ruby 1.9.1
apt-get update && apt-get install -y ruby ruby-dev build-essential

2
latex/Dockerfile

@ -1,4 +1,4 @@
FROM debian:wheezy
FROM debian:buster
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
ENV DEBIAN_FRONTEND noninteractive

2
latex/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install full texlive distribution
apt-get update && apt-get install -y texlive-full

6
mailcatcher/Dockerfile

@ -9,13 +9,15 @@ RUN set -xe \
&& apk add --no-cache --virtual .build-deps \
build-base \
sqlite-dev \
&& gem install mailcatcher -v 0.6.5 --no-ri --no-rdoc \
&& gem install mailcatcher -v 0.8.0 --no-ri --no-rdoc \
&& apk del .build-deps
ENV HTTPPATH="/"
# smtp port
EXPOSE 1025
# webserver port
EXPOSE 1080
CMD ["mailcatcher", "--no-quit", "--foreground", "--ip=0.0.0.0"]
CMD ["sh", "-c", "mailcatcher --no-quit --foreground --ip=0.0.0.0 --http-path $HTTPPATH"]

7
mailcatcher/README.md

@ -9,3 +9,10 @@ $ docker run -d -p 1080:1080 --name mailcatcher schickling/mailcatcher
```
Link the container to another container and use the mailcatcher SMTP port `1025` via a ENV variable like `$MAILCATCHER_PORT_1025_TCP_ADDR`.
## HTTP Path Support
You can run the web interface under a different root by specifying the environmental variable HTTPPATH. This can be used if you're proxying the incoming connection.
```sh
$ docker run -d -p 1080:1080 -e HTTPPATH="mailcatcher" --name mailcatcher schickling/mailcatcher
```

4
mysql-backup-s3/backup.sh

@ -1,6 +1,6 @@
#! /bin/sh
#!/bin/sh
set -e
set -eo pipefail
if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then
echo "Warning: You did not set the S3_ACCESS_KEY_ID environment variable."

15
mysql-backup-s3/install.sh

@ -1,8 +1,7 @@
#! /bin/sh
#!/bin/sh
# exit if a command fails
set -e
set -eo pipefail
apk update
@ -10,16 +9,8 @@ apk update
apk add mysql-client
# install s3 tools
apk add python py-pip
apk add python3 py3-pip
pip install awscli
apk del py-pip
# install go-cron
apk add curl
curl -L --insecure https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron
chmod u+x /usr/local/bin/go-cron
apk del curl
# cleanup
rm -rf /var/cache/apk/*

7
mysql-backup-s3/run.sh

@ -1,6 +1,6 @@
#! /bin/sh
#!/bin/sh
set -e
set -eo pipefail
if [ "${S3_S3V4}" = "yes" ]; then
aws configure set default.s3.signature_version s3v4
@ -9,5 +9,6 @@ fi
if [ "${SCHEDULE}" = "**None**" ]; then
sh backup.sh
else
exec go-cron "$SCHEDULE" /bin/sh backup.sh
echo "$SCHEDULE /bin/sh /backup.sh" > /etc/crontabs/root
exec crond -d 8 -f
fi

2
nodejs/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install node & npm
apt-get update && apt-get install -y nodejs npm

2
octave/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install octave 3.6.2 (less needed as frontend)
apt-get update && apt-get install -y octave less

4
postgres-backup-s3/README.md

@ -31,8 +31,8 @@ pgbackups3:
S3_BUCKET: my-bucket
S3_PREFIX: backup
POSTGRES_BACKUP_ALL: "false"
POSTGRES_HOST: postgres
POSTGRES_DATABASE: dbname,dbname1,dbname2
POSTGRES_HOST: host
POSTGRES_DATABASE: dbname
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_EXTRA_OPTS: '--schema=public --blobs'

2
postgres-backup-s3/backup.sh

@ -1,6 +1,6 @@
#! /bin/sh
set -e
set -eo pipefail
set -o pipefail
if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then

2
postgres-backup-s3/install.sh

@ -1,7 +1,7 @@
#! /bin/sh
# exit if a command fails
set -e
set -eo pipefail
apk update

2
postgres-backup-s3/run.sh

@ -1,6 +1,6 @@
#! /bin/sh
set -e
set -eo pipefail
if [ "${S3_S3V4}" = "yes" ]; then
aws configure set default.s3.signature_version s3v4

2
postgres-restore-s3/install.sh

@ -1,7 +1,7 @@
#! /bin/sh
# exit if a command fails
set -e
set -eo pipefail
apk update

2
postgres-restore-s3/restore.sh

@ -1,6 +1,6 @@
#! /bin/sh
set -e
set -eo pipefail
set -o pipefail
if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then

2
redis-commander/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install node & npm
apt-get update && apt-get install -y nodejs npm

2
rust/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install curl (needed to install rust)
apt-get update && apt-get install -y curl gdb g++-multilib lib32stdc++6 libssl-dev libncurses5-dev

2
s3cmd/install.sh

@ -1,7 +1,7 @@
#! /bin/sh
# exit if a command fails
set -e
set -eo pipefail
# install s3cmd
apk update

2
s3cmd/run.sh

@ -1,6 +1,6 @@
#! /bin/sh
set -e
set -eo pipefail
echo "Running s3cmd ..."

2
scala-sbt-docker/install.sh

@ -1,7 +1,7 @@
#! /bin/bash
# exit if a command fails
set -e
set -eo pipefail
# install node & npm
apt-get update && apt-get install -y nodejs npm

2
swagger-ui/run.sh

@ -1,6 +1,6 @@
#! /bin/sh
set -e
set -eo pipefail
replace_in_index () {
if [ "$1" != "**None**" ]; then

Loading…
Cancel
Save