File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Uses Go v1.12 and Postgres 11
22FROM golang:1.12
3- RUN apt-get update -y && apt-get upgrade -y && apt-get install -y ca-certificates openssh-client git curl make sudo
3+ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y ca-certificates openssh-client git curl make sudo locales locales-all
4+ ENV LANG en_US.UTF-8
5+ ENV LC_ALL en_US.UTF-8
6+ ENV LANGUAGE en_US.UTF-8
47ADD tests/ACCC4CF8.asc .
58RUN sudo apt-key add ACCC4CF8.asc
69ADD tests/pgdg.list /etc/apt/sources.list.d/pgdg.list
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ export LANGUAGE=" en_US.UTF-8"
3+ export LANG=" en_US.UTF-8"
4+ export LC_ALL=" en_US.UTF-8"
25service postgresql start || exit 1
36sudo -u postgres createdb gha || exit 2
47sudo -u postgres psql gha -c " create user gha_admin with password 'pwd'" || exit 3
You can’t perform that action at this time.
0 commit comments