mirror of
https://github.com/s83/docker-brudi-rclone.git
synced 2024-11-23 06:19:00 +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
|
||||
RUN apk add --no-cache --upgrade build-base
|
||||
# # Add build-base package for compiling source code
|
||||
# RUN apk add --no-cache --upgrade build-base
|
||||
|
||||
# Clone the brudi source code from GitHub
|
||||
RUN git clone https://github.com/mittwald/brudi.git /tmp/brudi
|
||||
# # Clone the brudi source code from GitHub
|
||||
# RUN git clone https://github.com/mittwald/brudi.git /tmp/brudi
|
||||
|
||||
# Build brudi from source for arm architecture
|
||||
WORKDIR /tmp/brudi
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /usr/local/bin/brudi
|
||||
# # Build brudi from source for arm architecture
|
||||
# WORKDIR /tmp/brudi
|
||||
# RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /usr/local/bin/brudi
|
||||
|
||||
# Clean up the temporary directory
|
||||
RUN rm -rf /tmp/brudi
|
||||
# # Clean up the temporary directory
|
||||
# RUN rm -rf /tmp/brudi
|
||||
|
||||
FROM postgres:16.2-alpine3.19
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user