mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
build base images
This commit is contained in:
17
.github/workflows/build_base_images.yml
vendored
Normal file
17
.github/workflows/build_base_images.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Build base images
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: action/checkout@v2
|
||||
- run: scripts/build_and_push_base_images.sh
|
||||
|
||||
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -173,14 +173,15 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
# - amazonlinux_2
|
||||
- amazonlinux_2
|
||||
- debian_10
|
||||
- ubuntu_18.04
|
||||
- ubuntu_20.04
|
||||
# - redhat_7
|
||||
# - redhat_8
|
||||
# - centos_7
|
||||
# - centos_8
|
||||
- centos_7
|
||||
- centos_8
|
||||
- fedora_33
|
||||
- fedora_34
|
||||
- fedora_35
|
||||
include:
|
||||
- arch: amd64
|
||||
# - arch: arm64
|
||||
|
||||
@@ -35,6 +35,7 @@ ENV LC_ALL en_US.UTF-8
|
||||
|
||||
RUN git clone --depth 1 https://github.com/asdf-vm/asdf.git $HOME/.asdf
|
||||
ENV PATH="/root/.asdf/bin:/root/.asdf/shims:${PATH}"
|
||||
RUN echo 'PATH="/root/.asdf/bin:/root/.asdf/shims:${PATH}"' >> /etc/environment
|
||||
COPY .tool-versions .tool-versions
|
||||
RUN asdf plugin-add nodejs
|
||||
RUN asdf plugin-add erlang
|
||||
|
||||
@@ -15,17 +15,23 @@ RUN yum install -y \
|
||||
ncurses-devel \
|
||||
curl \
|
||||
git \
|
||||
glibc-common \
|
||||
glibc-locale-source \
|
||||
glibc-langpack-en \
|
||||
findutils \
|
||||
unzip \
|
||||
glibc-all-langpacks \
|
||||
rpmdevtools \
|
||||
rpmlint
|
||||
ENV SHELL /bin/zsh
|
||||
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
||||
|
||||
# Restore missing locales from base image
|
||||
RUN yum reinstall glibc-common -y && \
|
||||
# localedef -i en_US -f UTF-8 en_US.UTF-8 && \
|
||||
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
RUN git clone --depth 1 https://github.com/asdf-vm/asdf.git $HOME/.asdf
|
||||
ENV PATH="/root/.asdf/bin:/root/.asdf/shims:${PATH}"
|
||||
RUN echo 'PATH="/root/.asdf/bin:/root/.asdf/shims:${PATH}"' >> /etc/environment
|
||||
COPY .tool-versions .tool-versions
|
||||
RUN asdf plugin-add nodejs
|
||||
RUN asdf plugin-add erlang
|
||||
|
||||
Reference in New Issue
Block a user