Skip to content

Commit 5a1abff

Browse files
committed
remove arm flags.
1 parent da75c2e commit 5a1abff

4 files changed

Lines changed: 7 additions & 10 deletions

File tree

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,7 @@ RUN \
195195
sed -i "/-DEXTRA_LIB/ s/$/ -DENABLE_SHARED:bool=off/" multilib.sh && \
196196
sed -i "/^cmake/ s/$/ -DENABLE_CLI=OFF/" multilib.sh && \
197197
sed -i '/^cmake/ s/$/ -DCMAKE_CXX_FLAGS=\"-fPIC\"/' multilib.sh && \
198-
sed -i '/^cmake/ s/$/ -DCROSS_COMPILE_ARM=ON/' multilib.sh && \
199198
sed -i '/^cmake/ s/$/ -DENABLE_ASSEMBLY=OFF/' multilib.sh && \
200-
sed -i '/^cmake/ s/$/ -DCMAKE_SYSTEM_PROCESSOR=aarch64/' multilib.sh && \
201199
sed -i '/^cd 12bit/ s/$/ \&\& echo MAKE 12bit/' multilib.sh && \
202200
sed -i '/^cd 10bit/ s/$/ \&\& echo MAKE 10bit/' multilib.sh && \
203201
sed -i '/^cd 8bit/ s/$/ \&\& echo MAKE 8bit/' multilib.sh && \
@@ -312,7 +310,7 @@ RUN \
312310
DIR=$(mktemp -d) && cd ${DIR} && \
313311
curl -sL https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz | \
314312
tar -zx --strip-components=1 && \
315-
cmake -DBUILD_THIRDPARTY:BOOL=ON -DCMAKE_INSTALL_PREFIX="${PREFIX}" -DCMAKE_C_FLAGS="-DPNG_ARM_NEON_OPT=0" . && \
313+
cmake -DBUILD_THIRDPARTY:BOOL=ON -DCMAKE_INSTALL_PREFIX="${PREFIX}" . && \
316314
make && \
317315
make install && \
318316
rm -rf ${DIR}
@@ -475,7 +473,7 @@ RUN \
475473
DIR=$(mktemp -d) && cd ${DIR} && \
476474
curl -sLO https://www.x.org/archive/individual/proto/xproto-${XPROTO_VERSION}.tar.gz && \
477475
tar -zx --strip-components=1 -f xproto-${XPROTO_VERSION}.tar.gz && \
478-
./configure --srcdir=${DIR} --prefix="${PREFIX}" --build=aarch64-unknown-linux-gnu && \
476+
./configure --srcdir=${DIR} --prefix="${PREFIX}" && \
479477
make && \
480478
make install && \
481479
rm -rf ${DIR}
@@ -592,7 +590,7 @@ RUN \
592590
curl -sLO http://downloads.xiph.org/releases/theora/libtheora-${THEORA_VERSION}.tar.gz && \
593591
echo ${THEORA_SHA256SUM} | sha256sum --check && \
594592
tar -zx --strip-components=1 -f libtheora-${THEORA_VERSION}.tar.gz && \
595-
./configure --prefix="${PREFIX}" --with-ogg="${PREFIX}" --enable-shared --disable-examples --build=aarch64-unknown-linux-gnu && \
593+
./configure --prefix="${PREFIX}" --with-ogg="${PREFIX}" --enable-shared --disable-examples && \
596594
make && \
597595
make install && \
598596
rm -rf ${DIR}
@@ -640,7 +638,6 @@ RUN \
640638
tar -jx --strip-components=1 -f ffmpeg-${FFMPEG_VERSION}.tar.bz2 && \
641639
export PKG_CONFIG_PATH="${PREFIX}/lib:${PREFIX}/lib/pkgconfig" && \
642640
./configure \
643-
--arch=aarch64 \
644641
--enable-cross-compile \
645642
--disable-debug \
646643
--disable-doc \

Dockerfile-debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ RUN \
579579

580580
FROM base
581581

582-
LABEL os="debain 8" \
582+
LABEL os="debian" \
583583
container.description="java and ffmpeg" \
584584
image.source="https://github.com/jrottenberg/ffmpeg/tree/master/docker-images" \
585585
version="1.0.0" \

debug.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Param(
55
[string]$TAG = "jdk11",
66
[string]$FILE = "Dockerfile",
77
[string]$FUNCTIONS_URI = "https://github.com/aem-design/aemdesign-docker/releases/latest/download/functions.ps1",
8-
[string]$COMMAND = "docker build . -f .\${FILE} -t ${TAG}"
8+
[string]$COMMAND = "docker buildx build . -f .\${FILE} -t ${TAG}"
99
)
1010

1111
$SKIP_CONFIG = $true
@@ -18,4 +18,4 @@ printSectionLine "$COMMAND" "warn"
1818

1919
$IMAGENAME=Select-String -path $FILE '.*imagename="(.*)".*' -AllMatches | Foreach-Object {$_.Matches} | Foreach-Object {$_.Groups[1].Value}
2020

21-
docker run -it --rm -v ${PWD}:/build/source:rw aemdesign/centos-java-buildpack bash --login
21+
docker run -it --rm -v ${PWD}:/build/source:rw aemdesign/java-buildpack bash --login

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ aem-base:
44
labels:
55
ffmpeg.version: "2.8.3"
66
ffmpeg.plugins: "yasm x264 x265 libogg libopus libvorbis libtheora libvpx libmp3lame faac xvid fdk-aac ffmpeg"
7-
os.version: "centos 7"
7+
os.version: "debian"
88
java.version: "oracle 8"
99
container.description: "aem instance, will run as author unless specified otherwise"
1010
container_name: "java-ffmpeg"

0 commit comments

Comments
 (0)