mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[linux_dist/appimage] refactoring: removing 'BAUH_VERSION' envvar from the Dockerfile
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
ARG bauh_commit
|
|
||||||
ENV BAUH_VERSION=$bauh_commit
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update -y && \
|
RUN apt-get update -y && \
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
docker build -t bauh-appimage --build-arg bauh_commit=$BAUH_COMMIT . && \
|
set -Ceufox pipefail
|
||||||
docker run --cap-add=SYS_ADMIN --device /dev/fuse --mount type=bind,source="$(pwd)",target=/build bauh-appimage
|
|
||||||
|
docker build -t bauh-appimage . && \
|
||||||
|
docker run -e BAUH_VERSION=$BAUH_VERSION --cap-add=SYS_ADMIN --device /dev/fuse --mount type=bind,source="$(pwd)",target=/build bauh-appimage
|
||||||
|
|||||||
Reference in New Issue
Block a user