refactor: use main docker image
This commit is contained in:
parent
ce3b0e8430
commit
770d6287ce
3 changed files with 4 additions and 17 deletions
|
|
@ -12,7 +12,7 @@ ENV VITE_RESTIC_VERSION=${RESTIC_VERSION} \
|
||||||
|
|
||||||
RUN apk update --no-cache && \
|
RUN apk update --no-cache && \
|
||||||
apk upgrade --no-cache && \
|
apk upgrade --no-cache && \
|
||||||
apk add --no-cache davfs2=1.6.1-r2 openssh-client fuse3 sshfs tini nfs-utils cifs-utils util-linux
|
apk add --no-cache davfs2=1.6.1-r2 openssh-client fuse3 sshfs tini nfs-utils cifs-utils util-linux kmod netcat-openbsd
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "-s", "--"]
|
ENTRYPOINT ["/sbin/tini", "-s", "--"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
FROM oven/bun:latest
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
|
||||||
cifs-utils \
|
|
||||||
nfs-common \
|
|
||||||
davfs2 \
|
|
||||||
sshfs \
|
|
||||||
kmod \
|
|
||||||
iputils-ping \
|
|
||||||
netcat-openbsd \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
|
|
@ -2,8 +2,9 @@ services:
|
||||||
# The Test Runner
|
# The Test Runner
|
||||||
tester:
|
tester:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ../../../../
|
||||||
dockerfile: Dockerfile.tester
|
dockerfile: Dockerfile
|
||||||
|
target: production
|
||||||
privileged: true # Required for mount operations
|
privileged: true # Required for mount operations
|
||||||
volumes:
|
volumes:
|
||||||
- ../../../../:/app
|
- ../../../../:/app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue