This commit is contained in:
Tine Jozelj 2020-12-21 18:28:10 +01:00
parent cce55948e1
commit faa3c73f69
No known key found for this signature in database
GPG key ID: 3818B74E3830D7CF
5 changed files with 15 additions and 10 deletions

Binary file not shown.

View file

@ -20,7 +20,8 @@ jobs:
id: prepare
run: |
DOCKER_IMAGE=ghcr.io/mentos1386/env/fedora
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
#DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
DOCKER_PLATFORMS=linux/amd64,linux/arm64
VERSION=edge
if [[ $GITHUB_REF == refs/tags/* ]]; then
@ -46,14 +47,14 @@ jobs:
${TAGS} --file ./Dockerfile.fedora .
- name: Cache Docker layers
uses: actions/cache@v2
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Docker Buildx (build)
run: |

View file

@ -20,7 +20,8 @@ jobs:
id: prepare
run: |
DOCKER_IMAGE=ghcr.io/mentos1386/env/ubuntu
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
#DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
DOCKER_PLATFORMS=linux/amd64,linux/arm64
VERSION=edge
if [[ $GITHUB_REF == refs/tags/* ]]; then
@ -46,14 +47,14 @@ jobs:
${TAGS} --file ./Dockerfile.ubuntu .
- name: Cache Docker layers
uses: actions/cache@v2
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Docker Buildx (build)
run: |

View file

@ -15,14 +15,12 @@ RUN set -ueox pipefail \
&& dnf -y install \
git \
ca-certificates \
locales \
mosh \
openssh-server \
psmisc \
tmux \
vim \
&& adduser --quiet --gecos '' --disabled-password --add_extra_groups "${SSH_USER}" \
&& echo -e "${SSH_PASSWORD}\n${SSH_PASSWORD}" | passwd "${SSH_USER}" \
&& adduser "${SSH_USER}" \
&& dnf clean all \
&& rm -rf /tmp/* /var/tmp/*

View file

@ -1,3 +1,6 @@
![Ubuntu](https://github.com/mentos1386/env/workflows/Ubuntu/badge.svg)
![Fedora](https://github.com/mentos1386/env/workflows/Fedora/badge.svg)
my workspace/environment as a docker container
==============================================
@ -18,11 +21,13 @@ my workspace/environment as a docker container
# TODO:
- [ ] Multiarch build
- [ ] Github actions
- [x] Github actions
- [ ] Add the tools i use
- zsh, spaceship-prompt, git
- [ ] Add the configurations i have
- zsh, git, nextcloud
- [ ] Fedora??
- [ ] GUI using VNC?
# Introduction