Skip to content

Commit

Permalink
Merge branch 'master' into uki_iso_v2
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka authored Sep 29, 2023
2 parents 900a124 + 97669b4 commit 27a6673
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
6 changes: 1 addition & 5 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ARG GO_VERSION=1.20
# renovate: datasource=docker depName=hadolint/hadolint versioning=docker
ARG HADOLINT_VERSION=2.12.0-alpine
# renovate: datasource=docker depName=renovate/renovate versioning=docker
ARG RENOVATE_VERSION=36
ARG RENOVATE_VERSION=37
# renovate: datasource=docker depName=koalaman/shellcheck-alpine versioning=docker
ARG SHELLCHECK_VERSION=v0.9.0

Expand Down Expand Up @@ -278,9 +278,6 @@ framework:
COPY ./images/bootargs.cfg /framework/etc/cos/bootargs.cfg
IF [[ "$FLAVOR" =~ -rpi$ ]]
COPY ./images/rpi/config.txt /framework/boot/config.txt
ELSE IF [[ "$FLAVOR" =~ ^fips-systemd* ]]
# Use a generic one like redhat which has selinux disabled so it can be used on all flavors??
COPY ./images/redhat/bootargs.cfg /framework/etc/cos/bootargs.cfg
END
END

Expand Down Expand Up @@ -480,7 +477,6 @@ base-image:
# luet cleanup
RUN luet cleanup
RUN rm -rf /var/luet
RUN rm -rf /var/cache

SAVE IMAGE $_CIMG
SAVE ARTIFACT IMAGE AS LOCAL build/IMAGE
Expand Down
2 changes: 1 addition & 1 deletion earthly.ps1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock --rm -t -v ${pwd}:/workspace -v earthly-tmp:/tmp/earthly:rw earthly/earthly:v0.7.17 --allow-privileged @args
docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock --rm -t -v ${pwd}:/workspace -v earthly-tmp:/tmp/earthly:rw earthly/earthly:v0.7.19 --allow-privileged @args
2 changes: 1 addition & 1 deletion earthly.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock --rm --env EARTHLY_BUILD_ARGS -t -v "$(pwd)":/workspace -v earthly-tmp:/tmp/earthly:rw earthly/earthly:v0.7.17 --allow-privileged "$@"
docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock --rm --env EARTHLY_BUILD_ARGS -t -v "$(pwd)":/workspace -v earthly-tmp:/tmp/earthly:rw earthly/earthly:v0.7.19 --allow-privileged "$@"
3 changes: 1 addition & 2 deletions images/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,4 @@ RUN systemctl enable ssh
# Fixup sudo perms
RUN chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

# Clear cache
RUN rm -rf /var/cache/* && journalctl --vacuum-size=1K && rm /etc/machine-id && rm /var/lib/dbus/machine-id && rm /etc/hostname
RUN journalctl --vacuum-size=1K && rm /etc/machine-id && rm /var/lib/dbus/machine-id && rm /etc/hostname

0 comments on commit 27a6673

Please sign in to comment.