mirror of
https://github.com/s83/docker-brudi-rclone.git
synced 2024-11-30 16:45:30 +00:00
update dockerfile
This commit is contained in:
parent
d63d4742de
commit
e1f5bb67dd
18
Dockerfile
18
Dockerfile
@ -1,15 +1,15 @@
|
|||||||
# Add build-base package for compiling source code
|
# # Add build-base package for compiling source code
|
||||||
RUN apk add --no-cache --upgrade build-base
|
# RUN apk add --no-cache --upgrade build-base
|
||||||
|
|
||||||
# Clone the brudi source code from GitHub
|
# # Clone the brudi source code from GitHub
|
||||||
RUN git clone https://github.com/mittwald/brudi.git /tmp/brudi
|
# RUN git clone https://github.com/mittwald/brudi.git /tmp/brudi
|
||||||
|
|
||||||
# Build brudi from source for arm architecture
|
# # Build brudi from source for arm architecture
|
||||||
WORKDIR /tmp/brudi
|
# WORKDIR /tmp/brudi
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /usr/local/bin/brudi
|
# RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /usr/local/bin/brudi
|
||||||
|
|
||||||
# Clean up the temporary directory
|
# # Clean up the temporary directory
|
||||||
RUN rm -rf /tmp/brudi
|
# RUN rm -rf /tmp/brudi
|
||||||
|
|
||||||
FROM postgres:16.2-alpine3.19
|
FROM postgres:16.2-alpine3.19
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user